There seems to be something causing the JRE provided by sonarcloud to not download correctly based on the fact that
exists but with zero size
This usually means something is interfering with the download for the requested file. I believe the request below is what is failing for you.
https://scanner.sonarcloud.io/jres/OpenJDK17U-jre_x64_linux_hotspot_17.0.11_9.tar.gz
In order to get more information, you can pass the sonar.verbose=true
in the sonar-project.properties
file or in the pipeline step
- task: SonarCloudPrepare@2
inputs:
SonarCloud: 'SonarCloud'
organization: '***'
scannerMode: 'CLI'
configMode: 'file'
extraProperties: |
sonar.verbose=true
and you will get more info about the failed request.