• sonar-maven-plugin问题


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

    StackOverflow问题

    [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中的项目再运行)

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

  • 相关阅读:
    Algorithm --> KMP算法
    Algorithm --> 快速排序
    Algorithm --> 阶乘和因子
    Algorithm --> Dijkstra和Floyd最短路径算法
    Algorithm --> 二分图最大匹配
    Algorithm --> 邮票连续组合问题
    Algorithm --> 字母重排
    Algorithm --> 6174问题
    Algorithm --> 字符串中最长不重合子串长度
    Algorithm --> DFS和BFS
  • 原文地址:https://www.cnblogs.com/laoniu85/p/5122630.html
Copyright © 2020-2023  润新知