How to integrate sonarqube with azure devops

0 votes

I have a self-hosted Windows agent with SonarQube Server installed. 

It works when I add 'Prepare analysis on SonarQube' to a pipeline. 

When I add the command 'Run Code Analysis' to the same pipeline, it fails with the following error: 

ERROR: You are not authorised. 

Please check the sonar.login and sonar.password properties. 

Sonar.projectKey and sonar.login= are both defined in my sonar-project.properties file. 

I've also tried providing the sonar.login and sonar.password, but it still doesn't work.

Dec 28, 2022 in DevOps on Cloud by Damonlang
• 1,230 points

edited 5 days ago 12 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP