Setting up multiple Jenkins Servers

The process for adding multiple Jenkins servers is very similar to adding a single server; it just includes an extra step.

  1. Select the Jenkins Instance(s) tab and click Add another Jenkins instance from the Webhook to Jenkins for Bitbucket Server dialog.

                 

  2. A second Jenkins URL field opens. Enter the URL for your Jenkins instance, and the Repository URL that you configured Jenkins to use. Use the Repo Clone URL dropdown to get the clone URL for each supported protocol. After, you can change the URL to match your Jenkins instance. Include the {repository} field so Jenkins knows where to add the URL’S repository id.

  3. Click the Test Configuration to confirm your configuration is working properly. When successful, the Connection Succeeded flag appears.

 

Â