Skip to end of banner
Go to start of banner

Access Token Requirements for Git plugin - Webhook to Jenkins for Bitbucket Cloud

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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 your workspace in Bitbucket Cloud, the Add Jenkins Instance dialog contains the NotifyCommit Access Token field.

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

In this section

  • Manage Webhook to Jenkins for Bitbucket Cloud

  • Configure Webhook to Jenkins for Bitbucket Cloud

  • No labels