Unable to find report-task.txt

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Gradle sonarqube 3.3
  • what are you trying to achieve

we use sonar-scanner to scan that produces report-task.txt and we take analysisId from report-task.txt and look for status and get coverage details so on. I am trying to convert to gradle task using plugin sonarqube. With gradle plugin i can’t find report-task.txt file. So where can i find that file, if file no longer created then what is alternate to get current analysisId?

Thanks in advance


Welcome to the community!

I’m not sure where or whether the file is available for Gradle analysis, but I’m wondering if you can accomplish your goals with the webhook payload.