TFS 2018 SonarQube CLI task

This is “simple” node.js request, so yes, maybe you can try unit test it with passing the certificate that you added in the environment variable.

Given some other community thread, that trick should solve the problem, seems strange that it didn’t in your case. (TFS buid server cannot connect to teh SonarQube server over SSL)