Jenkins service management
These instructions are no longer valid. Please see https://wiki.jenkins-ci.org/display/JENKINS/BitBucket+Plugin for information on configuring Jenkins with Bitbucket Cloud.
Bitbucket Cloud allows Integration with Jenkins. However Atlassian Support does not provide assistance for this configuration.
If assistance with this kind of configuration, please consult with the vendor(Jenkins), or raise a question on Atlassian Answers.
With this service, you can integrate Bitbucket Cloud with Jenkins, an extendable open source continuous integration server. If you are having trouble with the service, see Troubleshoot Bitbucket Cloud services. For help understanding Jenkins' security options and their implications to triggering remote builds, please review the Jenkins documentation.
Setting Up the service
You must have administrative access on a repository to add this service.
- Go to the repository's settings.
- Click Services in the left-hand navigation.
The Services page appears.
- Select the Jenkins service from the services dropdown.
- Click Add service.
A new section appears for the Jenkins service.
Enter the following information:
Field Explanation Example Required Csrf Enabled If set, the service will work with Jenkins when csrf is enabled on the server. Module name If set, only commits to the specified module (or directory) will trigger a Jenkins build. apps/Bitbucket Token If you have token authentication enabled for your builds, insert it here. Project Name The name of the Jenkins job you wish to run builds on bitbucket Selenium Tests Endpoint
The endpoint URL for your Jenkins instance. This can be any standard URL in the format. Basic authentication will be used when providing a username and password in the field.
- Press Save.