The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get the user and their group whilst running a build

Dave Grandon
September 13, 2022

I am trying to restrict the ability of developers to build the master branch, they need to be able to build, compile and test their branch(es) but not build against master database

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2022

Hello @Dave Grandon

You can work externally on Bamboo to restrict the merger of changes to the master/main branch by implementing a Pull Request and approval mechanism. That way your developers will be able to push their changes to their own branches and only merge to master when a Pull request is approved and merged.

Another strategy you can adopt is to modify Bamboo in a way that the repository attached to a Plan does not have "master/main" as the default Branch. For that, you need to modify the repository settings and declare another branch as the default.

You can then modify the Plan permissions to allow developers to only run builds and not edit the Plan.

If you want to have full control over the changes to the Plan structure, you can consider migrating the plan to Bamboo Specs (configuration as code).

Best regards,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

TAGS
AUG Leaders

Atlassian Community Events