How to define Pull request as trigger in Jenkins?

Itamar Cohen March 4, 2020

Hi all,

My question isn't direct on Bitbucket but Jenkins using "Bitbucket Team/Project" job.

I want to define Pull request as trigger to start the job and prevent starting the job by branch push.

These are the default values, I've tries a lot of options but without success. I've succeeded to start job by Pull request but not prevent starting the job by branch push.

pr.PNG

Is someone know how to define it?!

1 answer

0 votes
Wolfgang Kritzinger
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 23, 2020

Hi Itamar!

I am not familiar with the plugin you use for Jenkins, but we recently launched our own Jenkins plugin that is compatible with Bitbucket Server. Have a look here: https://community.atlassian.com/t5/Bitbucket-articles/Atlassian-supported-Jenkins-integration-for-Bitbucket-Server/ba-p/1148326#M151

Cheers,

Wolfgang

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events