We are continuing to have issues getting SonarQube setup with Jenkins and BitBucket. Now that our CERT issues are resolved, our Jenkinsfile does not appear to be correct. Therefore, I attempted to run the process manually on our build server to simulate what would happen upon a Build.
It appears to all run just fine, but nothing appears in SonarQube. Any thoughts or ideas?
Result of Last Step:
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
Calling the TFS Processor executable...
The TFS Processor has finished
Calling the SonarScanner CLI...
The SonarScanner CLI has finished
13:03:29.874 Post-processing succeeded.
We are having continued problems getting our SonarQube integration with Jenkins up and going. Here is our latest error:
SonarScanner for MSBuild 5.11
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
15:42:51.545 15:42:51.545 WARNING: File 'C:\ws2\workspace\RosterApps_SonarQube_dev\RosterApps.Web\AngularProjects\TimeAndAttendance\src\app\components\date-picker\date-picker.component.spec.ts' does not exist.
Calling the TFS Processor executable...
The TFS Processor has finished
Calling the SonarScanner CLI...
The SonarScanner CLI has finished
15:42:51.908 Post-processing succeeded.
[Pipeline] }
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Quality Gate)
[Pipeline] timeout
Timeout set to expire in 10 min
[Pipeline] {
[Pipeline] withSonarQubeEnv
Injecting SonarQube environment variables using the configuration: Arcos-Sonarqube
[Pipeline] {
[Pipeline] waitForQualityGate
[Pipeline] }
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.lang.IllegalStateException: Unable to guess SonarQube task id and/or SQ server details. Please use the 'withSonarQubeEnv' wrapper to run your analysis.