improved sonar cloud steps

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

6
Jenkinsfile vendored
View file

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