Trigger a Hudson Job on SCM Polling

Using the Hudson/Jenkins - Git Plugin Webhook, you can trigger a Hudson job that uses a VB Studio Git repository as source on SCM polling.

To trigger the job:

  • If not installed, install the Git plugin
  • Create or configure the Hudson job to use the VB Studio project Git repository as source
  • Enable SCM polling in the Hudson job
  • Create or configure a webhook to send a notification to Hudson when the job's Git repository (or any project Git repository) is updated

When the Git plugin of Hudson receives a notification, it goes through all Hudson jobs that have SCM polling enabled and match the provided notification parameters (such as Git repositories and branches). For all matching jobs, it starts a build. The build won't run if no changes are found by polling.

For more information about the Hudson Git plugin, see http://wiki.hudson-ci.org/display/HUDSON/Git+Plugin#GitPlugin-PostCommitHook.