我正在使用 maven 作为构建工具运行简单的基于 Java 的 Web 应用程序。 但是当我在 jenkins 中构建项目时,我遇到了以下错误。`
[ERROR] SonarQube server [localhost:9000] can not be reached
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project webapp:
Unable to execute SonarQube: Fail to get bootstrap index from server:
Failed to connect to localhost/127.0.0.1:9000: Connection refused (Connection refused) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
ERROR] Re-run Maven using the -X switch to enable full debug logging