zoukankan      html  css  js  c++  java
  • 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中的项目再运行)

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

  • 相关阅读:
    python迭代器
    初识html
    跨域(jsonp)方法
    闭包
    pycharm软件配置
    插槽slot
    git常用操作
    在mac中使用Charles抓包操作
    防止网页被嵌入框架
    H5唤起APP
  • 原文地址:https://www.cnblogs.com/laoniu85/p/5122630.html
Copyright © 2011-2022 走看看