Different permissions for short- and long living branches

Must-share information (formatted with Markdown):

  • SonarQube 7.7 , Scanner 4.0
  • I want to grant scan permissions for developers on short living branches, so they can fix their problems. But the long living branches should be reserved for the CI builds which run strict controlled environment.
  • Nor the documentation neither Google told me how to do start.


Welcome to the community!

Permissions are granted at the project level to all the pieces of the project, so you’re not going to be able to do what you’ve asked about. OTOH, what you can do is set your CI/CD system up to automatically analyze the SLBs so developers don’t have to remember to fire the analysis, they just

  • commit
  • get coffee
  • check SLB analysis in SonarQube