The Jenkins Last Commit widget periodically fetches SCM change information from a Jenkins instance for a specified list of jobs.
This allows you to have multiple widgets simultaneously (monitoing separate jobs for changes).
Calls are made to the Jenkins API to retrieve the changeset object in a JSON form. This JSON object contains various pieces of information about the last commit made for the Jenkins job.