All seems to work correctly apart from the PR decoration. There are no comments in the PR.
I am triggering a build through branch policies (build validation):
Is there anything else I need to do to? Could it be a problem with my user access token? (I’m not a tfs admin) or could it be that I’m using a branch build validation build to trigger the analysis?
Just adding some extra info, our TFS is 2018.2
Using the extension version 4.4.1 and tasks version is 4.*
I have tested a token from a system admin and the result is the same.
The ce logs show: Failed to access VSTS, the repository or the Pull Request: API resource location 225f7195-f9c7-4d14-ab28-a83f7ff77e1f is not registered on https://tfs:444/tfs/Common/. 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.
Add certificate (with public key) via Java Control Panel > Security > Manage Certificates…
Add certificate to JRE default cacerts keystore.
Add certificate to .keystore on default user folder C:\Users<username>.keystore
None of these made a difference, still getting the same error.
Do I need to tell sonarqube to look at a specific store?
Does the certificate need to include public/private keys?