Skip to content

Commit

Permalink
Added sonarqube scanning for project
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Feb 21, 2021
1 parent 3b7214c commit cd847e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ pipeline {
}
stage('build') {
steps {
sh script: 'mvn clean package'
withSonarQubeEnv('SONAR-7.1')
sh script: 'mvn clean package sonar:sonar'
}
}
stage('post build') {
Expand Down

0 comments on commit cd847e6

Please sign in to comment.