- ALM used: GitHub
- CI system used: GitHub Actions / gradle
- Scanner command used when applicable: ./gradlew clean build sonarqube -x test -x regressionTest -x integrationTest --info
- Languages of the repository: Java, Groovy
In our Java project, we integrate sonarcloud with a gradle build. For the configuration, we followed the suggested path for github with gradle. After the github action ran successfully, the sonarcloud project page did not refresh. So we chose to run the manual configuration. On the dev machine, we ran
export SONAR_TOKEN=abcdef123456789
./gradlew build sonarqube -x test -x regressionTest -x integrationTest --info
All the tasks were run successfully, including the sonarqube task. The relevant parts of the output read as (full output can be made available privately):
Skipping task ':app:compileTestJava' as it is up-to-date.
:app:compileTestJava (Thread[Execution worker for ':',5,main]) completed. Took 0.01 secs.
:app:sonarqube (Thread[Execution worker for ':',5,main]) started.
> Task :app:sonarqube
JaCoCo report task detected, but XML report is not enabled or it was not produced. Coverage for this task will not be reported.
Caching disabled for task ':app:sonarqube' because:
Build cache is disabled
Task ':app:sonarqube' is not up-to-date because:
Task has not declared any outputs despite executing actions.
JaCoCo report task detected, but XML report is not enabled or it was not produced. Coverage for this task will not be reported.
[...]
Analysis report uploaded in 596ms
ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=blahblah_privateProjectFoobar
Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
More about the report processing at https://sonarcloud.io/api/ce/task?id=blah
Analysis total time: x.336 s
:app:sonarqube (Thread[Execution worker for ':',5,main]) completed. Took y.155 secs.
However, when we go to the URL indicated by the console output, it still shows the project configuration page, and not the analysis dashboard.
Any insights or help regarding the issue is greatly appreciated.