Versions Compared

Key

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

Once you have successfully configured your Jenkins instance, the next step is to configure the Bitbucket instance.

  1. Log into Bitbucket as an Administrator.

  2. Select the repository you want to associate with Jenkins.

  3. Click Repository Settings from the left sidebar.

  4. Click Hooks.

  5. Locate Webhooks to Jenkins for Bitbucket Server under the Post Receive heading and select Enabled from the dropdown to open the Webhook to Jenkins for Bitbucket Server dialog.

...

Bitbucket configuration - project level

In addition to configuring Webhook to Jenkins at a Bitbucket repository level, you can also configure it at a project level, providing access to Webhook to Jenkins for all repositories in that project.

Before you begin, you must have at least one repository in the project that has Webhooks to Jenkins enabled and set to Inherited.

To confirm a repository has been set to Inherited, log in to Bitbucket as an Administrator, go to Repository Settings > Hooks > Webhook to Jenkins for Bitbucket and select Inherited (enabled) if not already set.

...

  1. Confirm you are logged into Bitbucket as an Administrator.

  2. Select the project you want to associate with Jenkins

  3. Click Project Settings from the left sidebar.

  4. Click Hooks.

  5. Locate Webhooks to Jenkins for Bitbucket Server and click the toggle to open the Webhook to Jenkins for Bitbucket Server dialog.

Jenkins Instance(s) tab

The Jenkins Instance(s) section contains the primary fields required to configure your Webhook to Jenkins application.

...