SonarQube: Fail to get bootstrap index from server: Status returned by url [http://hostname:9095/sonar/batch/index] is not valid: [403]

后端 未结 7 860
广开言路
广开言路 2021-01-04 04:37

I am trying to execute following maven command from jenkins job, mvn clean install sonar:sonar -Dsonar.host.url=http://hostname:9095/sonar -Dsonar.projectKey=mavensam

7条回答
  •  孤城傲影
    2021-01-04 05:22

    This issue exists in org.sonarsource.scanner.maven.sonar-maven-plugin 3.5.0 plugin as well.

    Upgrade your POM dependency to use a new Version or some earlier version like 3.2 are also stable.

    org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar
    

提交回复
热议问题