[英]Sonar Qube code analysis failed with exist code 1
我正在使用聲納qube
進行代碼分析,但出現如下錯誤:
Preparing `SonarQube` scanner...
`realpath`: '': No such file or directory
ERROR in /opt/resource/out : line 85 with exit code 1
並沒有得到它失敗的具體原因。
您的配置中缺少一些輸入,很可能是 maven 的輸入(默認 settings.xml 指向錯誤的存儲庫)。 concourse-sonarqube-resource 的默認 maven 安裝文件夾是/opt/apache-maven 。 通過使用調試標志,整個跟蹤 ( mvn -X ) 將被顯示,你會得到你的具體原因。
type: sonar-runner
source:
host_url: ((sonarqube.url))
__debug: true
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.