Use SCM Polling to Trigger a Jenkins Job

Use the Hudson/Jenkins - Git Plugin Webhook to trigger a Jenkins job when SCM polling indicates source file changes in a VB Studio Git repository.

To trigger the Jenkins job:
  1. If not installed, install the Git plugin.
  2. Create or configure the Jenkins job to use the Git repository in a VB Studio project as source.
  3. Enable SCM polling in the Jenkins job.
  4. Create or configure a webhook to send a notification to Jenkins when the job's Git repository (or any project Git repository) is updated.

When the Jenkins Git plugin receives notification of a change in a rep[ository, it goes through all Jenkins jobs that have SCM polling enabled and matches the provided notification parameters, such as Git repositories and branches. For all matching jobs, it starts a build. A build won't run when polling indicates that no changes were found.

For more information about the Jenkins Git plugin, see https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin#GitPlugin-Pushnotificationfromrepository.