grunt-sonar-runner
grunt-sonar-runner copied to clipboard
sonarqube hosted over https giving certificate not found
Running "sonarRunner:analysis" (sonarRunner) task Effective Sonar Options
sonar.host.url=https://sonarqube.com sonar.host.login=MYID sonar.host.password=XXXXXX sonar.host.keystoreFile=/Users/localadmin/workspace/../myTrustStore.jks sonar.host.keyPass=changeit sonar.host.keystorePass=changeit sonar.host.keystoreType=JKS sonar.projectKey=sonar:grunt-sonar-runner:0.1.0 sonar.projectName=Grunt Sonar Runner sonar.projectVersion=0.10 sonar.sources=test sonar.language=js sonar.sourceEncoding=UTF-8 Sonar client configured sonar-runner exec: java -jar "/Users/localadmin/workspace/../node_modules/grunt-sonar-runner/tasks/../sonar-runner-2.4/lib/sonar-runner-dist-2.4.jar" -Drunner.home="/Users/localadmin/workspace/../node_modules/grunt-sonar-runner/tasks/../sonar-runner-2.4" SonarQube Runner 2.4 Java 1.8.0_66 Oracle Corporation (64-bit) Mac OS X 10.11.6 x86_64 INFO: Runner configuration file: /Users/localadmin/workspace/../node_modules/grunt-sonar-runner/tasks/../sonar-runner-2.4/conf/sonar-runner.properties INFO: Project configuration file: NONE INFO: Default locale: "en_US", source code encoding: "UTF-8" INFO: Work directory: /Users/localadmin/workspace/.././.sonar INFO: SonarQube Server 5.6.1 10:46:35.232 INFO - Load global repositories INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ Total time: 2.708s Final Memory: 9M/245M INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution ERROR: Unable to execute Sonar ERROR: Caused by: Unable to load component class org.sonar.batch.bootstrap.BatchPluginInstaller ERROR: Caused by: Unable to load component class org.sonar.home.cache.FileCache ERROR: Caused by: Unable to load component class org.sonar.batch.bootstrap.GlobalSettings ERROR: Caused by: Unable to load component class org.sonar.scanner.protocol.input.GlobalRepositories ERROR: Caused by: Fail to request https://sonarqube.com/batch/global ERROR: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target ERROR: Caused by: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target ERROR: Caused by: unable to find valid certification path to requested target ERROR: ERROR: To see the full stack trace of the errors, re-run SonarQube Runner with the -e switch. ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging. Return code: 1.