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 of any changes. Generate the token in Jenkins and enter it on the Bitbucket Cloud Webhook to Jenkins Settings page.

Attempting to use Webhook to Jenkins with Git plugin 4.11.4 or higher without adding the notifyCommit token to Bitbucket results in a Git Plugin 4.11.4+ requires access token for Jenkins notification message.

Generate a token in Jenkins

  1. From your Jenkins instance, go to Manage Jenkins > Configure Global Security.

  2. Find the Git plugin notifyCommit access tokens section.

  3. Click Add new access token.

  4. Enter the token name and click Generate.

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

  6. Copy the token to your clipboard. The Access token is only displayed once.

Add the token to Webhook to Jenkins for Bitbucket Cloud

When adding a new Jenkins instance to Bitbucket Cloud, the Add Jenkins Instance dialog contains the NotifyCommit Access Token field. Generate the token and click

Click Add Server.

See the Manage App section of the Manage Webhook to Jenkins for Bitbucket Cloud page for information about adding the token when configuring Webhook to Jenkins for Bitbucket cloud.

Info

You are currently in Webhook to Jenkins for Bitbucket Cloud documentation. Click Server/Data Center to move to that document.

Aura inline button
summaryServer/Data Center
paramsJTdCJTIybGFiZWwlMjIlM0ElMjJTZXJ2ZXIlMkZEYXRhJTIwQ2VudGVyJTIyJTJDJTIyc2l6ZSUyMiUzQSUyMm1lZGl1bSUyMiUyQyUyMnNoYXBlJTIyJTNBJTIyY2lyY3VsYXIlMjIlMkMlMjJzdGF0ZXMlMjIlM0ElN0IlMjJpZGxlJTIyJTNBJTdCJTIyY29sb3JzJTIyJTNBJTdCJTIyYmFja2dyb3VuZCUyMiUzQSUyMiUyM2Y5NmMyYyUyMiUyQyUyMmxhYmVsJTIyJTNBJTIyJTIzZmZmZmZmJTIyJTdEJTdEJTJDJTIyaG92ZXIlMjIlM0ElN0IlMjJjb2xvcnMlMjIlM0ElN0IlMjJiYWNrZ3JvdW5kJTIyJTNBJTIyJTIzZmZmZmZmJTIyJTJDJTIyb3V0bGluZSUyMiUzQSUyMiUyM2Y5NmMyYyUyMiUyQyUyMmxhYmVsJTIyJTNBJTIyJTIzZjk2YzJjJTIyJTdEJTdEJTdEJTJDJTIyaWNvbiUyMiUzQSU3QiUyMnBvc2l0aW9uJTIyJTNBJTIybGVmdCUyMiUyQyUyMmljb24lMjIlM0ElMjJmYS1jYWxlbmRhci13ZWVrJTIyJTdEJTJDJTIybGluayUyMiUzQSU3QiUyMnZhbHVlJTIyJTNBJTIyMTUwODk2ODcxJTIyJTJDJTIydHlwZSUyMiUzQSUyMnBhZ2UlMjIlN0QlN0Q=

In this section

Table of Contents
minLevel1
maxLevel7
  • Manage Webhook to Jenkins for Bitbucket Cloud

  • Configure Webhook to Jenkins for Bitbucket Cloud