The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger Jenkins on a successful merge of a pull request?

Kranthikumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 19, 2019

I am using Atlassian Bitbucket server v4.14.12, and would like to know how to trigger a Jenkins job which defines my CD. Is there a way to only trigger this job on successful PR merge to specific branch? ie; I am planning to implement my CD this way:
- If the PR target branch is develop, it should be deployed to test server

- If the PR target is master, it should be deployed to prod server

 

TIA

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events