Hello there,
first of all i’m using 2.7 version of sonarqube plugin in Java with Gradle.
I’m trying to run a sonarqube gradle task from azure pipeline like:
- task: Gradle@2
displayName: ‘SonarQube Inspection’
inputs:
options: ‘-Dsonar.projectKey=provisioning-storage -Dsonar.host.url=(SONAR_QUBE_URL) -Dsonar.login=(SONAR_QUBE_TOKEN) -Dsonar.java.source=1.8’
tasks: sonarqube
When i run the task locally without variables everything works fine but it doesn’t work on Azure.
i’m getting build falied with
SonarQube server [https://sonarqube.XXXXX.com] can not be reached
Please help