update sonar

update sonar
This commit is contained in:
sandeepds 2019-08-26 09:33:40 +05:30 committed by GitHub
parent adbf11c4e9
commit e30b1c5833
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ node {
stage('Sonar Quality Analysis'){ stage('Sonar Quality Analysis'){
//Run the sonar scan //Run the sonar scan
withSonarQubeDev('sonarqube'){ withSonarQubeDev('sonarqube'){
sh "'${mvnHome}/bin/mvn' verify sonar:sonar sh "'mvn clean package sonar:sonar'
} }
} }
stage('Sonar Quality Gate') { stage('Sonar Quality Gate') {