HI Team,
I am using Atlassian Bitbucket v6.6.3 tool and i need to trigger jenkins job based on pull request. Can you please help in setting up this.
When i create pull request from Dev to SIT branch pull request changes should validate it against SIT environment. Basically i should get the target branch details in jenkins file so that i can use environment variable for validation in jenkins file
Jenkins 2.26
Earlier we tried with hooks but that is not working now.
Hi Naresh
welcome to the Atlassian community
Have you already had a look to https://plugins.jenkins.io/bitbucket-push-and-pull-request/
the documentation goes through the required steps.
Alternatively you might want to check https://marketplace.atlassian.com/apps/1211284/webhook-to-jenkins-for-bitbucket?hosting=server&tab=overview
Cheers
Kurt
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.