Get sonar-scanner report processing link

We are running,

sonarqube - 8.9.6
sonar-scanner 4.6.2.2472

We have a Jenkins that runs sonar-scanner.bat and at the end of the output there is a link to the report processing status. How can I get this link when the scan completes? Is there a log file or something I can parse?

[2022-02-26T08:40:22.783Z] INFO: Analysis report compressed in 6089ms, zip size=4 MB
[2022-02-26T08:40:23.042Z] INFO: Analysis report uploaded in 512ms
[2022-02-26T08:40:23.042Z] INFO: ANALYSIS SUCCESSFUL, you can browse https://***/dashboard?id=project.cpp&branch=dev-sonarqube
[2022-02-26T08:40:23.042Z] INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[2022-02-26T08:40:23.042Z] INFO: **More about the report processing at** https://***/api/ce/task?id=AX81MCZ15zKGuS4RXIsP
[2022-02-26T08:40:37.916Z] INFO: Analysis total time: 13:07.280 s

Hi,

Are you after the background task status, or the post-processing Quality Gate status? If the latter, you could use a webhook to have the QG status sent to your job. Or you could parse the job log you’ve shown.

 
HTH,
Ann

Hi, I was after the background task status. I didn’t realize there was post-processing Quality Gate status. Is that run as part of the background task?

Hi,

Yes, the Quality Gate status is computed as part of the analysis report processing.

 
HTH,
Ann