Reputation: 612
So I have builds being triggered by bamboo when there's a push to a branch using the Remote Trigger. This works perfectly.
However, I want the same thing to happen when I click the "merge" button on Bitbucket Server. The code merges into master but the build does not get triggered.
Is there a way to fix this?
Upvotes: 2
Views: 650
Reputation: 362
You can use Http Request Post Receive Hook for this . https://marketplace.atlassian.com/plugins/de.aeffle.stash.plugin.stash-http-get-post-receive-hook/server/overview
For Bitbucket cloud, You can select Create New Plan Branches for New Branches under Branches->'Automatic branch management'. I just tested it on Bitbucket and Bamboo cloud and it works perfectly.
Upvotes: 1