We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb08b8a commit f9f733aCopy full SHA for f9f733a
Jenkinsfile
@@ -45,7 +45,7 @@ timeout(60) {
45
}
46
47
stage('Sonar') {
48
- withCredentials([string(credentialsId: 'sonarcloud-token', variable: 'sonar.login')]) {
+ withSonarQubeEnv('sonarcloud.io') {
49
sh "./mvnw clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=hypery2k-github"
50
51
0 commit comments