Passarinho
Passarinho

Reputation: 109

Jenkins task isn't triggered when bitbucket merge

environment: Jenkins 1.650, Bitbucket plugin 1.1.5, Git plugin 2.4.2

I have configured my task to be triggered when a change is pushed to my bitbucket repository. All works great when I made same changes (on master) and push it from my computer, but when I create new branch (made some changes), create pull request and merge this branch to master (from web browser) task is not triggered.

Have you same idea why?

Upvotes: 0

Views: 577

Answers (1)

yorammi
yorammi

Reputation: 6458

Clicking on the pull-request-merge-button doesn't activate the post-receive hook as a normal push-to-master action does. You have to use add on such as external hooks in order to get the same result

Upvotes: 1

Related Questions