TFS SonarQube PullRequest Decoration not working


(Cbc Elca) #1

Hello,

I am using the most recent version of all.

I am trying to get the sonarqube scanner pull request decoration working. I exported our tfs ssl cert via chrome and imported it in the default cacerts on the sonarqube server. Sadly, it still does not work :frowning:

Any ideas?

From the ce.log:

2018.11.26 15:13:20 WARN ce[AWdQXXVAc6e_b2yA7uo6][c.s.B.C.A.C] Failed to decorate VSTS Pull Request: API resource location 225f7195-f9c7-4d14-ab28-a83f7ff77e1f is not registered on https://tfs02/Project/. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2018.11.26 15:13:23 INFO ce[AWdQXXVAc6e_b2yA7uo6][o.s.c.t.CeWorkerImpl] Executed task | project=.NET | type=REPORT | pullRequest=113 | id=AWdQXXVAc6e_b2yA7uo6 | submitter=admin | status=SUCCESS | time=42065ms

Thanks