Configure the Jenkins Job to Use the VB Studio Git Repository and Enable SCM Polling

Configure the job to use the VB Studio Git repository and enable SCM polling.

  1. Log on to Jenkins.
  2. Create or open a job.
  3. From the links on the left side of the page, click Configure.
  4. Click the Source Code Management tab.
  5. Select Git.
  6. In Repository URL, enter the VB Studio project's Git repository URL.

    Remember the URL’s protocol as you’d need to specify it when you create the webhook.

    You can copy the URL from the Clone menu of the VB Studio Git page.

    After entering the URL, you might see a Failed to connect to repository … error message. It appears because you haven't provided the VB Studio access credentials to Jenkins.

    1. Next to the Credentials list, click Add and then select Jenkins.
    2. In the Jenkins Credentials Provider dialog box, enter the VB Studio username and password in Username and Password. Leave other fields with their default values.
    3. Click Add.

    The error message should disappear. If you still see the error message, configure the proxy settings of Jenkins. See the Jenkins documentation to see how to do that..

  7. Click the Build Triggers tab.
  8. Select the Poll SCM check box.
  9. Continue to configure the job.
  10. When you're finished, click Save.