We at ‘One America’ have successfully integrated the ‘Sonar Cloud’ code scans for few projects during the Azure DevOps Builds.
However, since few days we are suddenly facing issues for all the projects that have integrated the ‘Sonar Cloud’ code scans in Azure DevOps. The ‘SonarCloudAnalyze’ task has been failing with the error message (attached in this email) even though we have changed nothing in the configuration.
<
- task: SonarCloudPrepare@1
inputs:
SonarCloud: ‘SonarCloud’
organization: ‘oneamerica’
scannerMode: ‘CLI’
configMode: ‘manual’
cliProjectKey: ‘oneamerica_eAccessPrj’
cliProjectName: ‘eAccessPrj’
cliSources: ‘.\eaccessWeb\JavaSource\com’
extraProperties: |
sonar.java.binaries=eaccessWeb\JavaSource\com\oneamerica\eaccess*,eaccessWeb\JavaSource\com\oneamerica\eaccess**
sonar.projectVersion=$(Build.BuildNumber)
/>
<
we are able to resolve the Issue. Please find the working yaml Task. I need some help from the community abot the SonarScanner Version Release Notes. It is a new Scanner version which broke our builds.
<
Code Snippet to be updated in Failing builds is this Build Tasks…One liner>