Azure devops is unable to use sonar code analysis 5.20.0 version

a* how is SonarQube deployed: zip, Docker, Helm its ommunity edition deployed simple tar file

  • what are you trying to achieve - We have configured SonarQube extension for Azure DevOps
    When we running Code Analysis, we will received below error

/home/devopsagent/newagent/_work/_tasks/SonarQubeAnalyze_6dxxxxxxxxa-9589-xxxxx-8491-xxxxxxxxxxxxx/5.20.1/sonar-scanner/bin/sonar-scanner
Error occurred during initialization of VM
Failed setting boot class path.
##[warning]LIB_ResourceFile does not exist
##[warning]Resource file haven’t been set, can’t find loc string for key: LIB_ProcessExitCode
##[warning]Error while executing SonarQube:Analyze task: LIB_ProcessExitCode /home/devopsagent/newagent/_work/_tasks/SonarQubeAnalyze_6dxxxxxxxxa-9589-xxxxx-8491-xxxxxxxxxxxxx/5.20.1/sonar-scanner/bin/sonar-scanner 1
##[error]LIB_ProcessExitCode /home/devopsagent/newagent/_work/_tasks/SonarQubeAnalyze_6dxxxxxxxxa-9589-xxxxx-8491-xxxxxxxxxxxxx/5.20.1/sonar-scanner/bin/sonar-scanner 1

This issue we faced with 5.20.1 version but earlier it was ran successfully with 5.20.0 and 5.19.1

  • what have you tried so far to achieve this - We want to run code analysis successfully.
    For this, we put “cliVersion” in pipeline YAMl file in code analysis task, but it is still facing same issue.

For now your ask is to run code analysis task successfully.
If we need to setup any specific version, please suggest how.

Hi,

Welcome to the community!

I’m having trouble tracking down that 5.20.1 version. From what I see in the docs, it went from 5.20.0 straight to 6.0.0 and the current version is 6.2.0. Can you point me to your source for 5.20.1? And more importantly, can you try the current version?

 
Thx,
Ann