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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events