0
我想對詹金斯運行C#代碼分析,但總是得到這個錯誤錯誤試圖用錯誤來分析MSBuild.SonarQube.Runner.exe
/var/jenkins_home/tools/hudson.plugins.sonar.MsBuildSQRunnerInstallation/SonarQube_Scanner_for_MSBuild_2.0/MSBuild.SonarQube.Runner.exe: 1:
/var/jenkins_home/tools/hudson.plugins.sonar.MsBuildSQRunnerInstallation/SonarQube_Scanner_for_MSBuild_2.0/MSBuild.SonarQube.Runner.exe:
MZ����@���: not found
/var/jenkins_home/tools/hudson.plugins.sonar.MsBuildSQRunnerInstallation/SonarQube_Scanner_for_MSBuild_2.0/MSBuild.SonarQube.Runner.exe: 1:
/var/jenkins_home/tools/hudson.plugins.sonar.MsBuildSQRunnerInstallation/SonarQube_Scanner_for_MSBuild_2.0/MSBuild.SonarQube.Runner.exe: ��kO����j: not found
/var/jenkins_home/tools/hudson.plugins.sonar.MsBuildSQRunnerInstallation/SonarQube_Scanner_for_MSBuild_2.0/MSBuild.SonarQube.Runner.exe: 22:
/var/jenkins_home/tools/hudson.plugins.sonar.MsBuildSQRunnerInstallation/SonarQube_Scanner_for_MSBuild_2.0/MSBuild.SonarQube.Runner.exe: ��V�0N Jl �@ ���.rsrc��[email protected]@.reloc�[email protected],lH,�2,�^�@j�0}s �~rp�)%rp�(7s o ~rp�)%r-p�(8s o ~~ o ~~ o *0�-r5ps z-rUps zQ~s o (_�(o o ( (! _�i(_,=�%�%�s: File name too long
/var/jenkins_home/tools/hudson.plugins.sonar.MsBuildSQRunnerInstallation/SonarQube_Scanner_for_MSBuild_2.0/MSBuild.SonarQube.Runner.exe: 23:
/var/jenkins_home/tools/hudson.plugins.sonar.MsBuildSQRunnerInstallation/SonarQube_Scanner_for_MSBuild_2.0/MSBuild.SonarQube.Runner.exe: Syntax error: word unexpected (expecting ")")
ERROR: Execution of SonarQube Scanner for MSBuild failed (exit code 2) Finished: FAILURE
您粘貼的代碼中存在編碼問題。你能解決這個問題嗎? –
這就是問題所在,始終顯示這些符號,我們不知道如何查看清晰的日誌。 – Santiago109
我們嘗試通過控制檯,相同的過程,並說這個 'MSBuild.SonarQube.Runner.exe開始/ k:TEST_INDIVIDUAL/n:測試/v:1.0 /d:sonar.host.url=http:/ /sonarqube.xxxxx.com.co:9000/ bash:MSBuild.SonarQube.Runner.exe:command not found' – Santiago109