Error while executing Sonarqube analysis “ Insufficient privileges”

点点圈 提交于 2019-12-04 10:47:52

As mentioned in this answer, check the SonarQube user permission that you are using for your job:

  • global: Execute Analysis
  • project: BROWSE and SEE SOURCE CODE

Those might be by default in your new SonarQube server.

As the OP VVP confirms in the comments:

Yes the problem was "Anyone" group was removed somehow and this prevented code from being pushed to SonarQube.

See more at Sonarqube / Security / Authorization / Group.

Just an update on how this issue can be resolved.
I was using Sonar runner to analyse the code .
The issue was permissions for "Anyone" group was removed somehow. As per above answer, I added the permissions again, executed and I could see the results published.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!