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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.