【发布时间】:2020-07-10 14:20:38
【问题描述】:
在使用 SonarQube 在 Jenkins 中运行 SONAR 分析后,我收到此错误。 在构建运行一段时间并进行分析后,我收到了错误。 不得不提的是,我已经在 Sonar 中创建了令牌并将其放入 Jenkins 配置中。
不知何故,我认为这是由于 Sonar 缺少创建项目或其他东西的权利。
你能帮我解决一下吗?
这是 Jenkins 构建的最新日志。
WARN: This may lead to missing/broken features in SonarQube
INFO: 328 files had no CPD blocks
INFO: Calculating CPD for 868 files
INFO: CPD calculation finished
INFO: Analysis report generated in 818ms, dir size=42 MB
INFO: Analysis report compressed in 2897ms, zip size=6 MB
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 2:36.346s
INFO: Final Memory: 30M/313M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
ERROR: You're not authorized to run analysis. Please contact the project administrator.
【问题讨论】:
标签: jenkins sonarqube sonarqube-scan