You do not have scan permissions for SonarQube project

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    sonarqube
  • what are you trying to achieve
    build my first project on Jenkins, everything passes except Sonarqube build it gives the above error message
  • what have you tried so far to achieve this
    checked all permissions for myself, everything seems ok not sure why I’m getting this error:

what should I change?
TIA

Hi,

Welcome to the community!

Your screenshot shows the permissions the user account has in SonarQube. So any analysis that uses that account’s credentials should be able to successfully analyze.

The error you’re getting indicates that you’re not including credentials to a properly-permissioned account in your analysis parameters. The docs should help.

 
Ann

Thank you for getting back to me, I revoked the token for sonarQube and generated new one and that seemed to solve the issue.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.