1

Ich habe einen Jenkins-Server unter Windows 2012 R2 eingerichtet. Das sind meine Build-Einstellungen:SonarQube kann den Post-Build-Schritt nicht abschließen

enter image description here

Underneath Sie den Fehler zu sehen. Es sollte gesagt werden, dass die Pre-Build-Schritt erfolgreich ausgeführt wird:

[Test CSharp Build Job] $ ...\Jenkins\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\MSBuild_2.0\MSBuild.SonarQube.Runner.exe end 
SonarQube Scanner for MSBuild 2.0 
Default properties file was found at ...\Documents\Jenkins\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\MSBuild_2.0\SonarQube.Analysis.xml 
Loading analysis properties from ...\Documents\Jenkins\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\MSBuild_2.0\SonarQube.Analysis.xml 
Post-processing started. 
SonarQube Scanner for MSBuild End Step 1.1 
No ProjectInfo.xml files were found. Possible causes: 
1. The project has not been built - the end step was called right after the begin step, without a build step in between 
2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 12.0 upwards are supported 
3. The build step has been launched from a different working folder 
Generation of the sonar-properties file failed. Unable to complete SonarQube analysis. 
11:18:18.015 Creating a summary markdown file... 
Post-processing failed. Exit code: 1 
ERROR: Execution of SonarQube Scanner for MSBuild failed (exit code 1) 

Also in meinem Jenkins Konfiguration ich dieses:

enter image description here

bin ich etwas fehlt, diese Arbeit zu machen?

Antwort

3

Okay, ich es herausgefunden

ich ein /t:rebuild zwischen Gebäude mit MSBuild hinzuzufügen vergessen haben, und die End-Analyse Befehl ausgeführt wird.

Verwandte Themen