Versions Compared

Key

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

Git Plugin 4.11.4+ requires the notifyCommit token when notifying jenkins Jenkins of any changes. Token needs to be generated on Generate the token in Jenkins and provided on “Jenkins Servers“ enter it on the Bitbucket Jenkins Servers configuration page on Bitbucket.

...

Generate a token

...

...

  1. From your Jenkins instance, go to

...

  1. Manage Jenkins

...

  1. Configure Global

...

  1. Security.

  2. Find

...

  1. the Git plugin notifyCommit access

...

  1. tokens section.

  2. Click

...

  1. Add new access

...

  1. token.

  2. Enter the token name and click

...

Token will be generated that need to be copied into Bitbucket

...

...

  1. Generate.

  2. Jenkins generates the notifyCommit token required in the Bitbucket Jenkins Base dialog.

...

Provide a token for Bitbucket

...

  1. Go to the Jenkins Servers page on the Bitbucket configuration window

...

  1. .

  2. If you already have credentials for the Jenkins instance configured

...

  1. , click

...

  1. Edit. If

...

  1. not, click

...

  1. Add new

...

  1. instance.

  2. Enter

...

  1. the Jenkins base

...

  1. URL in the Jenkins Base field and the generated token into

...

  1. the notifyCommit access token (for GIT plugin only)

...

  1. field.

  2. Click Save instance.

...