I am getting this error after running SONAR analysis in Jenkins with SonarQube. After the build is running a while and analysing I am getting the error. I have to mention that I've created the token in Sonar and put it in Jenkins configuration.
Somehow, I think it's due to the missing rights on Sonar to create a project or something.
Can you please help me with a solution?
Here are the latest logs from the Jenkins build.
WARN: This may lead to missing/broken features in SonarQube
INFO: 328 files had no CPD blocks
INFO: Calculating CPD for 868 files
INFO: CPD calculation finished
INFO: Analysis report generated in 818ms, dir size=42 MB
INFO: Analysis report compressed in 2897ms, zip size=6 MB
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 2:36.346s
INFO: Final Memory: 30M/313M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
ERROR: You're not authorized to run analysis. Please contact the project administrator.