Trigger a build in jenkins on pull request raised from BitBucket , for MULTIBRANCH Pieline

Abhisek Tripathy September 14, 2018

Requirement :
I want to trigger  a build in  jenkins  on PR raised in Bitbucket , for MULTIBRANCH pipeline Job . 

FYI : On push the build is trigger so how to achieve in PR created . 


so please provide what are the steps we have to set up in perspective of jenkins as well in BitBucket. 


1 answer

0 votes
Scott Schreckengaust October 8, 2018

1) Setup a Multi Branch pipeline with BitBucket Team/Project plugin

2) Point the BitBucket web hook to Jenkins if the plugin cannot register itself with BitBucket (replace with your Jenkins URL below):

http://jenkins.example.com:8080/bitbucket-scmsource-hook/notify

Suggest an answer

Log in or Sign up to answer