I get the same error from the command line as I’m getting using Jenkins. Here is the Jenkins output as it contains more information. On the command line I just get “Files was unexpected at this time”.
Any idea what I should check to find the actual problem?
Writing processing summary to C:\Jenkins\workspace\AutoDeployQA_Eclipse_JenkinsWindowsBuild001-sonarcube-testing.sonarqube\out\ProjectInfo.log
Calling the SonarQube Scanner…
Executing file C:\Jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\SonarQubeScanner-MSBuild\sonar-scanner-220.127.116.112\bin\sonar-scanner.bat
Args: -Dsonar.scanAllFiles=true -Dproject.settings=C:\Jenkins\workspace\AutoDeployQA_Eclipse_JenkinsWindowsBuild001-sonarcube-testing.sonarqube\out\sonar-project.properties --embedded --debug
Working directory: C:\Jenkins\workspace\AutoDeployQA_Eclipse_JenkinsWindowsBuild001-sonarcube-testing
Process id: 7280
Files was unexpected at this time.
Process returned exit code 255
The SonarQube Scanner did not complete successfully
15:53:25.471 Post-processing failed. Exit code: 1
WARN: Unable to locate ‘report-task.txt’ in the workspace. Did the SonarScanner succedeed?
ERROR: Execution of SonarScanner for MSBuild failed (exit code 1)
Previous steps failed the build.
Result is: FAILURE
Build step ‘Quality Gates Sonarqube Plugin’ marked build as failure