Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to trigger jenkins jobs(jenkins file setup) based on pull request(Atlassian Bitbucket v6.6.3)

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.


1 answer


Hi Naresh

welcome to the Atlassian community

Have you already had a look to

the documentation goes through the required steps.


Alternatively you might want to check




Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

117 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you