We are getting an error when trying to do QA in a Jenkins Pipeline.
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:22.214.171.1246:sonar (default-cli) on project api-employee: Failed to parse public URL set in SonarQube server: 172.31.37.146:9000 -> [Help 1]
I’ve uploaded the mvn debug log. Here are the specifics of the environment
SonarQube Version 8.1
Jenkins 2.204.2 core and libraries
The analysis works from a local machine same plugin. I found the error in the source code: https://github.com/SonarSource/sonarqube/blob/master/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ReportPublisher.java and have downloaded and verified that the okhttp3.HttpUrl works with this address both with and without the http:// prefix.