Im testing using a Sonarqube Server Community EditionVersion 8.4.1 (build 35646) and Jenkins Server 2.235.5. Both are in the same machine.
Im trying to implement Sonarqube functionalities in my Jenkins Pipeline following some tutorials.
This is the Pipeline Stage/Step where I have defined the Sonarqube implementation:
stage(‘Analysis’) {
steps {
withSonarQubeEnv(‘sonarqubeServer’) {
bat ‘dotnet build-server shutdown’
bat ‘dotnet sonarscanner begin /k:sonarqubePipeline
/d:sonar.cs.opencover.reportsPaths=WebAPI.Test/coverage.opencover.xml
/d:sonar.verbose=true’
bat ‘dotnet build’
bat ‘dotnet sonarscanner end’
}
}
}
When I want to define a webhook in Sonarqube (http://localhost:8080/sonarqube-webhook/), appears me this message:
" Invalid URL: loopback and wildcard addresses are not allowed for webhooks."
I already try to update windows host file with another name, but no working