adisreyaj / vscode-sonarqube-status

Get the result of the Sonar Qube analysis from your CICD pipeline right inside VSCode.
https://marketplace.visualstudio.com/items?itemName=adisreyaj.sonarqube-status
8 stars 8 forks source link

Please Double Check the project key and sonarURL #18

Closed pedroresende closed 2 years ago

pedroresende commented 2 years ago

Hi,

I've attempted to configure has stated in the documentation, with the following .vscode/project.json and inside

{
  "project": "pedroresende_blog.resende.biz_XXXXXXXXXXXX",
  "sonarURL": "https://sonarqube.xxxxx"
}

however each time that I attempt to get the build status I see the message Please Double Check the project key and sonarURL

pedroresende commented 2 years ago

After looking at the code, I've noticed that there is no username and password taken into account.

pedroresende commented 2 years ago

Even if I attempt to introduce the username and password in the url. It doesn't work

pedroresende commented 2 years ago

@adisreyaj I've created a https://github.com/adisreyaj/vscode-sonarqube-status/pull/19 that will take the username and password into account

adisreyaj commented 2 years ago

Thanks @pedroresende for raising the issue and creating the PR. I hadn't gotten a chance to update the code for so long. Will do a refactoring later.

Will check and update you on the PR.

pedroresende commented 2 years ago

Glad to help out. Thanks for the great work, very useful extension