cathive / concourse-sonarqube-resource

performs SonarQube analyses and checks quality gates https://concourse-ci.org/ https://sonarqube.org/
Apache License 2.0
46 stars 49 forks source link

Concourse 3.9.x breaks the resource #16

Closed engrun closed 6 years ago

engrun commented 6 years ago

Due to a bug in Concourse 3.9 (See here) the resource fails with

ERROR: Error during SonarQube Scanner execution
ERROR: Unable to execute SonarQube
ERROR: Caused by: Fail to get bootstrap index from server
ERROR: Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
ERROR: Caused by: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
ERROR: Caused by: the trustAnchors parameter must be non-empty
ERROR: 

A long story short, I found this workaround, implemented in the maven-resource, forked your repository, added the fix, and the problem was solved. For now, this is a workaround, I'll create a pull request for it.