Restrict users from pushing analysis to sonar from their local workspace


(Rama Krishna) #1

we are using 6.7.3(LTS) version of sonar.

We want to restrict users from pushing their local analysis to sonar, we only want sonar to allow analysis coming from our Jenkins machine.

If we allow devs to push their local sonar analysis to sonar server it is corrupting the project metrics and causing Jenkin build failures.

Please let us know if there is a setting or a plugin in sonar to restrict the sonar access to a particular system(Jenkins in our case).

(G Ann Campbell) #2


This is a question of permissions. If you don’t want developers to submit local analysis to the central SQ instance (and they shouldn’t!) make sure they don’t have Execute Analysis permissions on the project. You find more details on permissions in general in the docs.