improved sonar cloud steps

This commit is contained in:
abhishek 2023-11-01 09:27:18 +05:30
parent eb9ac14eb8
commit c4b07711a2

4
Jenkinsfile vendored
View file

@ -15,9 +15,11 @@ pipeline{
}
stage('Sonar Cloud Analysis'){
steps{
withSonarQubeEnv('SONAR_CLOUD')
withSonarQubeEnv('SONAR_CLOUD'){
sh 'mvn clean verify sonar:sonar -Dsonar.organization=springgit -Dsonar.projectKey=springgit'
}
}
}
}
}