Hi team,
I am using sonarqube 9.0.1.46107 and azure devops .NET application, when running an analysis I am getting the following error when trying to generate a report
20:52:38.732 INFO: Analysis report compressed in 613ms, zip size=1.1 MB
20:52:38.736 INFO: Analysis report generated in D:\a\1\.sonarqube\out\.sonar\scanner-report
20:52:38.737 DEBUG: Upload report
20:52:39.375 DEBUG: POST 500 http://201.184.123.118:9000/api/ce/submit?projectKey=Palma_palmaDesarrollo&projectName=Palma_palmaDesarrollo&characteristic=branch%3DRelease&characteristic=branchType%3DBRANCH | time=637ms
20:52:39.385 DEBUG: stylelint-bridge server will shutdown
20:52:44.430 INFO: ------------------------------------------------------------------------
20:52:44.430 INFO: EXECUTION FAILURE
20:52:44.430 INFO: ------------------------------------------------------------------------
20:52:44.430 INFO: Total time: 1:26.883s
20:52:44.521 INFO: Final Memory: 16M/57M
20:52:44.522 INFO: ------------------------------------------------------------------------
##[error]20:52:44.522 ERROR: Error during SonarScanner execution
20:52:44.522 ERROR: Error during SonarScanner execution
##[error]Failed to upload report - An error has occurred. Please contact your administrator
Failed to upload report - An error has occurred. Please contact your administrator
Process returned exit code 1
##[error]The SonarScanner did not complete successfully
The SonarScanner did not complete successfully
##[error]20:52:44.575 Post-processing failed. Exit code: 1
20:52:44.575 Post-processing failed. Exit code: 1
##[error]The process 'D:\a\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.21.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1
This is my sonarqube configuration
- task: SonarQubePrepare@4
inputs:
SonarQube: 'palmasonarqube'
scannerMode: 'MSBuild'
projectKey: 'palmaDesarrollo'
projectName: 'palmaDesarrollo'
extraProperties: |
# Additional properties that will be passed to the scanner,
# Put one key=value per line, example:
sonar.login=89937f1e8123456765asefed14d701c9d455e29
sonar.exclusions=**/*.js,**/*.cs
sonar.verbose=true
sonar.log.level=DEBUG
ant sonar -v
Everything works correctly the compilation does fine, but fails in sonarqube analysis
Who could help me please