Have a Sonar instance running behind basic auth (not Sonar auth).
Using the Sonar Gradle plugin and specifying the Sonar host URL in gradle.properties
via:
systemProp.sonar.host.url=https://admin:password@sonarqube.host.com
However this does not seem to authenticate as in Gradle logs I see:
SonarQube server [https://admin:password@sonarqube.host.com] can not be reached
If I curl the same URL I get a 200 response as expected.
Not sure why the sonar.host.url
isn't playing nicely?