Must-share information (formatted with Markdown):
We are using sonarqube version 7.6 and TFS 2018 on which we deployed sonarqube plugin (v4.*).
We are running build via TFS CI from build definition which is,
And we are getting an exception as below,
2020-07-10T09:29:27.3369394Z ##[section]Starting: Prepare analysis on SonarQube
2020-07-10T09:29:27.3380602Z ==============================================================================
2020-07-10T09:29:27.3381109Z Task : Prepare Analysis Configuration
2020-07-10T09:29:27.3381507Z Description : Prepare SonarQube analysis configuration
2020-07-10T09:29:27.3381911Z Version : 4.6.3
2020-07-10T09:29:27.3382244Z Author : sonarsource
2020-07-10T09:29:27.3382745Z Help : More Information
2020-07-10T09:29:27.3383241Z ==============================================================================
2020-07-10T09:29:34.3117397Z ##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“code”:“SELF_SIGNED_CERT_IN_CHAIN”}
2020-07-10T09:29:34.3188561Z ##[section]Finishing: Prepare analysis on SonarQube
We have sonarqube server which is over https, certificates has been deployed on java keystore of build machine, we have also tried setting environmental pass value of cacert file to that variable,
We also tried updating certificate in mmc as explained in https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-view-certificates-with-the-mmc-snap-in
So far no luck, help will be appreciated.
Thanks
Bharat