Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Configuring Jenkins using either the Classic UI or the Blue Ocean plugin

  • Configuring Bitbucket:

    1. Globally - Administration (gear icon top right) > Jenkins instances

    2. Project or Repository hook settings

  • Implementing General Settings or Advanced Configuration features depending on your development requirements.

...

Adding an instance of Jenkins in Bitbucket makes configuring project-level and repository-level easier by allowing Webhook to Jenkins to use the entered Jenkins instance location as the default URL.

  1. Log into your Bitbucket instance as an Administrator.

  2. Click the Administration icon in the top right corner to open the Administration page.

  3. Under Add-ons, click Jenkins Servers.

    Image Modified
  4. Click Add New Instance.

  5. Enter the Jenkins instance URL in the Jenkins Base field, your Jenkins Username and Password, and if you are using Git plugin version 4.11.4 or higher, the notifyCommit access token. See Access token requirements for Git plugin 4.11.4+ on how to generate the token. When using an earlier version of the Git plugin, the notifyCommit token is not required.

...

  1. Image Added

  2. Click Save Instance.

You can also access this page through Bitbucket Administration (Administration > Manage Apps > Webhook to Jenkins for Bitbucket > Configure).

...