簡體   English   中英

聲納 Qube 代碼分析失敗,存在代碼 1

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM