jenkins+sonar5.6.6+svn 构建时提示没权限

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.3.0.603:sonar (default-cli) on project common: Error when executing blame for file src/main/java/common/entity/BaseEntity.java: svn: E170001: Authentication required for '<http://192.168.0.107:80> Subversion repositories' -> [Help 1]
[ERROR] 

clean install sonar:sonar

不加sonar:sonar没问题,加了就报告没权限

sonar难道不是在本地检查代码么?难道还要进svn 代码仓库?

我看日志已经分析完了
[INFO] JavaTestClasspath initialization (done) | time=0ms
[INFO] Java Main Files AST scan
[INFO] 5 source files to be analyzed
[INFO] 5/5 source files have been analyzed

阅读 3.9k
1 个回答

解决了,在sonar上配置scm为true就好了

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进