sonar-maven-plugin问题

问题: jenkins本地构建时sonar报错

*问题

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project MYPROJECT: Fail to execute request [code=500, url=https://SONARQUBE/batch/project?key=com.myplugins.sonar.plugins:MYPROJECT&preview=false]: Fail to download [https://SONARQUBE/batch/project?key=com.myplugins.sonar.plugins:MYPROJECT&preview=false]. Response code: 500 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project MYPROJECT: Fail to execute request [code=500, url=https://SONARQUBE/batch/project?key=com.myplugins.sonar.plugins:MYPROJECT&preview=false] Caused by: org.apache.maven.plugin.MojoExecutionException: Fail to execute request [code=500, url=https://SONARQUBE/batch/project?key=com.myplugins.sonar.plugins:MYPROJECT&preview=false] Caused by: java.lang.IllegalStateException: Fail to execute request [code=500, url=https://SONARQUBE/batch/project?key=com.myplugins.sonar.plugins:MYPROJECT&preview=false] Caused by: org.sonar.api.utils.HttpDownloader$HttpException: Fail to download [https://SONARQUBE/batch/project?key=com.myplugins.sonar.plugins:MYPROJECT&preview=false]. Response code: 500

解答:

可能的问题:

sonarQube的Bug/项目重复(删除SonarQube中的项目再运行)

但与我们的问题不完全一样

上一篇:UIFontFamily


下一篇:vue-router 组件复用问题