I have some Sonar scans that are lacking the report-task.txt file. Looks like this is the case when I do a scan in preview mode to Sonar 6.7.x. but also for some scans (maybe only PRs?) on Sonar 7.9.x.
In which cases is the report-task.txt created an in which not?
which versions are you using
- SonarQube: EE 7.9.5 (build 38598), CE 6.7.7 (build 38951)
- Scanner: 4.5
what are you trying to achieve
I would like to fetch some measurements from the API and want to make sure I really get the results from my latest scan. Therefore I use the
report-task.txt file created by the scanner to get the taskID and check the /ce/task api if the task has finished yet.
- what have you tried so far to achieve this