I'm not sure I understand the Branch permissions concept correctly.
I want to block user pushes to master, but there are some users that need to be able to do that i.e. Jenkins during release process.
I checked the "Prevent changes without a pull request" option but there's no way to exclude Jenkins from this rule.
When I use the "Limit write access to" we can't even merge PR's anymore.
As far as I know, there's no way to overwrite the rule requiring PRs for certain users. And you have to have write access to merge a Pull Request.
The best alternative is probably to not require PRs but to limit write access to only the Jenkins user and a few trusted human users. Then other developers will have to issue Pull Requests, and the Pull Requests will have to be merged by the trusted human users. The trusted human users will be able to push directly to the branch, but - because they're trusted - they won't.
I think you understand the feature correctly, it's just that the feature you're looking for has not been implemented yet. I suggest keeping an eye on the follow feature request and Watch it for any future updates when we may implement this. This would allow you to specify the Jenkins user so that it can makes changes to
master without a pull request.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
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