Hello Team,
we are getting below error while executing Jenkins job, tried all the possible thing shared in deafferent topics with similar issue didn’t help, please guide what to troubleshoot
Sonarqube: 7.9.6
Jenkins : 2.263.4
[INFO] — sonar-maven-plugin:3.6.0.1398:sonar (default-cli) @ oc — [INFO] User cache: /home/private/.sonar/cache
[ERROR] SonarQube server [https://privatesonar.com/sonarqube] can not be reached
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for oc 0.0.5-SNAPSHOT:
[INFO]
[INFO] wt-poc … FAILURE [ 1.391 s]
[INFO] wt-eureka-server … SKIPPED
[INFO] wt-config-server … SKIPPED
[INFO] wt-model … SKIPPED
[INFO] wt-entities … SKIPPED
[INFO] wt-presa-in-carico … SKIPPED
[INFO] wt-gestione-del-saldo … SKIPPED
[INFO] wt-gestione-conversion … SKIPPED
[INFO] wt-gestioni-blocchi … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.071 s
[INFO] Finished at: 2021-09-22T12:36:51+02:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /disk2/jenkins/workspace/OC/Pipeline_OC@tmp/withMavenb61342fe/maven-spy-20210922-123648-99317337004886836186617.log
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project oc: Unable to execute SonarQube: Index: 0 → [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.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[Pipeline] }
can you help
Regards,
SAM