Insufficient Privileges when running SonarQube analysis through Jenkins

718 views
Skip to first unread message

yeshu...@gmail.com

unread,
Jan 8, 2016, 5:55:05 AM1/8/16
to SonarQube
Hi,

I am using Sonar 5.1.2. 
When I run Sonar analysis through Jenkins, I get the error "Failed to Decorate. Insufficient Privileges".
Jenkins is part of Sonar users and has the following permissions:

- Global Permissions:
  Execute Analysis
  Execute Preview Analysis

- Project Permissions:
  Browse
  See Source Code

I tried setting Jenkins user with the above permissions (https://groups.google.com/forum/#!searchin/sonarqube/permissions/sonarqube/nshLzYF85wU/L0Ay3v2AAgAJ) but this still did not solve my problem.

A successful analysis only works when all the above permissions are set to 'Anyone' - this is not the approach I want to take (it is not private).

Do you have any idea how to overcome this?

Kind Regards,
Tammy
Reply all
Reply to author
Forward
0 new messages