i set the branch configuration with this:
Optional: Add exemptions for any of the selected restrictions. Adding a user or group as an exemption means that it will not apply to them. This is not required; not adding any exemptions means the restriction will apply to everyone.
put the Atlassian (bamboo build machine) user id in the exclusion list for branch "develop"
I checked Prevent all changes, Prevent changes without a pull request, except by Atlassian userID. When bamboo do a release to staging, the Atlassian should automatically update all pom.xml files to the next development version and push the branch backup.
This will work if i remove the "develop" branch in the branch permission, however, once i put it back, it will failed and complain with this error:
'refs/heads/develop' is read-only.Branch refs/heads/develop can only be modified through pull requests.Check your branch permissions configuration with the project administrator.-
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot