Skip to end of banner
Go to start of banner

"Access token is required" error with Git Plugin 4.11.4+

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

Version 1 Next »

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

How to generate a token:

  • On Jenkins go to “Manage Jenkins” → “Configure Global Security“ page

  • Find “Git plugin notifyCommit access tokens“ section

  • Click “Add new access token“

  • Enter token name and click “Generate“

  • Token will be generated that need to be copied into Bitbucket

How to provide a token for Bitbucket:

  • On Bitbucket configuration window, go to “Jenkins Servers“ page

  • If you have credentials for Jenkins instance configured already, click “Edit“. If you don’t, click “Add new instance“

  • Enter “Jenkins Base“ - Jenkins base url and generated token into “notifyCommit access token (for GIT plugin only)“ field

  • Save instance

  • No labels