Configure a Webhook in VB Studio to Trigger a Hudson Job When the Git Repository Gets Updated

After configuring the Hudson job, create the VB Studio webhook to trigger the job when the Git repository is updated.

  1. In the left navigator, click Project Administration Project Administration.
  2. Click Webhooks.
  3. Click + Create Webhook.
  4. From Type, select Hudson/Jenkins - Git Plugin.
  5. In Name, enter a unique name.
  6. In Notification URL, enter the Hudson URL.
    The URL must be in the http://your_server/.../git/notifyCommit format. Example: http://my_hudson.com:8080/git/notifyCommit
  7. To ignore SSL errors, select the Ignore SSL Errors check box.
  8. In Notification Parameters, specify the URL type.

    In Repository URL Type, select HTTP Repository Address to send the HTTP URL of the selected Git repository in the webhook notification. Select SSH Repository Address to send the SSH URL of the selected Git repository in the webhook notification.

    You must specify the same protocol that’s used in your the job configuration to access the Git repository.

    To append branch information of the last commit in the webhook notification, select the branches check box. This enables jobs to poll the specified branches only.

  9. In Repository and Branches, specify the Git repository and branches that trigger the webhook.
    In Repository, select All Repositories to trigger all Hudson jobs that uses a Git repository of the project.
  10. Click Done.