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

Bamboo not triggering build when code pushed to stash

I have a Bamboo build Plan configuration with following settings in Linked Repositories:

Selected Stash server as the Repository host and make sure Branch is set to master for each repository.

Now my problem is whenever I created a branch say (feature) write a code and push the changes to stash it doesn't trigger the build, I had also included trigger type as poling of repository for changes

Since Branch is set to master is the build only against master branch? does it means that when we merge back to master then it trigger the build?

How do I trigger the build for any branches, whenever there is change in repository? the build should trigger automatically for changes in repository doesn't matter whatever may be the branch.

Thank you

2 answers

1 accepted

0 votes
Answer accepted

Thanks Joe Clark,

If so does the build trigger automatically when I merge any branch to master since I have linked the repositories and set the branch as master.

What will be the configuration look like if I want to trigger the build against Develop and master branch only but not for other branch. Actually I have a plan branch enabled but it triggers build for all branches detected, I only want to trigger the build against two branch only.

Joe_Clark Atlassian Team Apr 16, 2015

Any time you merge a branch to master, the main build plan will detect new commits on the master branch and trigger a new build. In the plan branches configuration, there is an area where you can supply a regexp pattern for matching against the branch name. The branch build will only be created if the branch name matches the regexp.

thank you very much Joe Clark, one quick queston?? I are planning to move with Gitflow branching model. and I had configured a Bamboo build plan with plan branch enable. Is this plan appropriate for this branching model? What is the best plan we can have for GitFlow branching model.

0 votes
Joe_Clark Atlassian Team Apr 14, 2015

That's correct - each build plan in Bamboo is configured to poll for changes against a single repository branch.  If you want to automatically launch new builds for feature branches, then you can configure plan branches in Bamboo to automatically create new build plans as new branches are detected.  The documented on how to do this is here:


Suggest an answer

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

Cannot save a repository using Chrome v83

Hello Bamboo Community, I'm Jey from Bamboo Support team. If you have upgraded your Chrome browser to version 83 recently, it is observed that the save operation just spins and never completes w...

143 views 2 5
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