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

后端 未结 7 929
广开言路
广开言路 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:28

    We had a same issue. In our case both Jenkins and SonarQube were running on the same machine behind a reverse proxy. It resolved our issue after updating sonar host URL to http://localhost:9000.

提交回复
热议问题