持续集成 SonarQube 接入 jenkins 报错

雨中的诗 · 2019年08月13日 · 最后由 雨中的诗 回复于 2019年08月14日 · 2984 次阅读

hello,请教下各位大神我的 SonarQube 接入 jenkins 报错,在本机上直接命令运行是可以正常分析代码的,接入 jenkisn 构建时就报错。麻烦各位帮忙看下呢???

报错信息如下:

ERROR: Error during SonarQube Scanner execution
ERROR: Tasks support was removed in SonarQube 7.6.
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
WARN: Unable to locate ‘report-task.txt’ in the workspace. Did the SonarScanner succeeded?
WARN: Unable to locate ‘report-task.txt’ in the workspace. Did the SonarScanner succeeded?
ERROR: SonarQube scanner exited with non-zero code: 2
Finished: FAILURE

版本信息如下:
SonarQube version: 7.9
jenkins version: 2.189
SonarQube Scanner for Jenkins: 2.9

共收到 2 条回复 时间 点赞

按照日志提示,加上 -X 再执行一次,然后完整日志发上来看看?

信息太少了。不要只给错误日志,给下完整日志?完整日志才能看出完整过程,才能定位问题。

陈恒捷 回复

谢谢,问题已经处理了,运维把地址给错了。

雨中的诗 关闭了讨论 08月14日 09:37
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册