
Trigger parameterized builds in Jenkins from Bitbucket Server
Trigger parameterized builds in Jenkins from Bitbucket Server
Trigger parameterized builds in Jenkins from Bitbucket Server
Jobs can be triggered on branch and tag events, as well as pull request events.
You can monitor specific paths or use pattern matching for branch names.
Users can link there Jenkins account to Bitbucket Server. When they trigger a build via maunally, pushing, or pull requests the the build will be triggered using their Jenkins API token.
A manual "Build in Jenkins" button will be added to the branch actions menu and to the pull request overview. If there are multiple jobs added with build parameters then developers can use which job to build.
More details
Jenkins base settings are configured on the admin page in Bitbucket or per project. Here you can setup the base URL for Jenkins and default authentication. Once this is setup you can start configuring and adding jobs in the Hook settings for a repository.
Triggers inlcude:
- Branch created (can use pattern matching for branches)
- Push event (can use pattern matching for branches or file paths)
- PR events (opened, re-opened, re-scoped, declined, merged)
- Manual (adds a "Build in Jenkins" button to the branch action menus)
- Branch deleted
- Tag events
Authentication for triggering a job can use one of 3 ways:
- Jenkins API token via admin page
- Job token via the hook settings
- Jenkins API token via user profile page (per user)
You can add build parameters (including token, string, choice, and boolean). You can also use a custom variable "$BRANCH". During the trigger event this value will be replaced with the branch that triggered the build.
Reviews for cloud
(23)Sign in to write a review



There is a Jenkins plugin for that: Bitbucket (Stash) Notifier Plugin

Reviews for server
(23)Sign in to write a review


Unfortunately, we do not provide enterprise support or Data center compatibility at this time.



Reviews for Data Center
(23)Sign in to write a review



There is a Jenkins plugin for that: Bitbucket (Stash) Notifier Plugin

Cloud Pricing
Server Pricing
Data Center Pricing
Basic support resources are available for this app.
Vendor support resources
Find out how this app works.
Community discussions connect you to the vendor and other customers who use this app.
Atlassian-hosted discussions connect you to other customers who use this app.
Versions
Version 5.0.2 • Bitbucket Server 7.0.0 - 7.10.1 • Released 2020-07-12
Summary
Add project hook
Details
View full release notes on Github.
Installation
- Log into your Bitbucket instance as an admin.
- Click the admin dropdown and choose Add-ons. The Manage add-ons screen loads.
- Click Find new apps or Find new add-ons from the left-hand side of the page.
- Locate Parameterized Builds for Jenkins via search. Results include app versions compatible with your Bitbucket instance.
- Click Install to download and install your app.
- You're all set! Click Close in the Installed and ready to go dialog.
To find older Parameterized Builds for Jenkins versions compatible with your instance, you can look through our version history page.