This question is in reference to Atlassian Documentation: Polling the repository for changes
I have a linked repository configured with the "master" branch selected, and a plan trigger to poll for repository changes. The problem is that even though the master branch is selected, a push to any branch triggers a build, which in this case creates a loop because my deployment plan (which is automatically triggered on successful build) pushes to the branch corresponding to the environment (triggering another build).
Why doesn't the selected branch have an effect on repository polling? and how can this situation be remedied?
Thank you for you inquire.
If you do not want to have the triggering (polling) available to the reminder branches, please go to each of the branches under "Branches >> [your branch] >> Branch details" tab and under "Trigger type >> Change trigger" select Manual.
Every branch created takes as default the configuration you have under "Plan configuration", so if you have polling as trigger method under "Plan configuration >> Triggers" tab all the branches created will behave no different.
If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.
Thank you for your understanding.
Rafael P. Sperafico
Thanks for your response.
I'm not actually using branch plans. I am hoping I don't need to do that, as I understand that each branch plan counts toward the 10 plan limit in our subscription. I just have the main plan, but the default repository is set up to track the "master" branch, so I only want the "master" branch to trigger the main plan.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs