Configure a Hudson/Jenkins Git Plugin Webhook

After configuring the Jenkins job, create the VB Studio webhook to trigger the job when a Git repository gets 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 URL of the target Jenkins server.
    The URL must be in the http://your_server/.../git/notifyCommit format. Example: http://my_jenkins.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 the Jenkins job configuration.

    • In Append, to append the SHA-1 Checksum hash of the last commit in the webhook notification, select the sha1 (Jenkins only) check box.

    • 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 Jenkins jobs that use any of the project's Git repositories.

    In the filter, you select from the item(s) displayed or use a regular expression to make a more complex selection (a range or ranges, perhaps) that involves multiple items that match a pattern. See Glob Pattern Reference for Matching Branch, Job, and Pipeline Names for detailed information about the syntax for regular expressions.

  10. Click Done.