ALM used (Azure DevOps)
CI system used (Azure DevOps)
Scanner command used when applicable (private details masked)
- task: SonarCloudPrepare@1
inputs:
SonarCloud: ‘’
organization: ‘’
scannerMode: ‘MSBuild’
projectKey: ‘’
extraProperties: |
sonar.cs.opencover.reportsPaths=$(Agent.BuildDirectory)/**/*opencover.xml
sonar.coverage.exclusions=**Test*.cs'
- task: SonarCloudAnalyze@1
- task: SonarCloudPublish@1
Languages of the repository
Only if the SonarCloud project is public, the URL
Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
Steps to reproduce
Pipeline tasks work normally, the result is published to SonarCloud but does not transmit to Azure DevOps
Token is valid according to SonarCloud
Potential workaround
At the beginning of the month, I was experiencing this same error where the token was invalid.
To solve this problem, I changed the token and remade the project on SonarCloud. However, it’s not feasible to change the token and redo the project every time, so I would like to know if there is a viable solution.
Colin
(Colin)
September 19, 2023, 10:45am
2
Hey there.
Thanks for the report. I suggest following this thread:
ALM used: Azure DevOps
CI system used: Azure DevOps
Scanner command used when applicable (private details masked)
Using the SonarCloud Azure DevOps extensions
[image]
Project and Organization are bound:
[image]
Languages of the repository: C#, TypeScript, YAML, etc
Only if the SonarCloud project is public, the URL: PRIVATE
And if you need help with pull request decoration, then the URL to the PR too
Yes, we need help with the pull request decoration but on a private proje…
ganncamp
(G Ann Campbell)
Split this topic
September 21, 2023, 1:32pm
4
ganncamp
(G Ann Campbell)
Split this topic
September 21, 2023, 1:33pm
5
2 posts were merged into an existing topic: Pipeline stalled waiting for QG status
Hello G Ann Campbell, the error had been resolved, but this morning it occurred again
ganncamp
(G Ann Campbell)
September 21, 2023, 1:12pm
7
Hi,
To be clear, you’re seeing analysis succeed, but the pipeline is stalled waiting for the Quality Gate status?
Do you see the PR in SonarCloud?
Ann
Yes, it’s complete in Sonar, but here it still shows as waiting in DevOps. I’m sending pictures to explain.
here is the pull request in SonarCloud:
And here is in Azure DevOps:
ganncamp
(G Ann Campbell)
September 21, 2023, 1:34pm
10
Hi,
Thanks for the details. I’ve flagged this for the team.
Ann
Andrey_Luiz
(Andrey Luiz)
September 25, 2023, 7:10am
11
Hello @Joao_Miziara .
This issue has been fixed in the past week, and we haven’t observed it.
Can you please confirm if you are still experiencing this issue?
Best,
Andrey