mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Commit
This commit is contained in:
parent
03775e6da3
commit
a076a429e3
1 changed files with 11 additions and 0 deletions
11
jenkinsfile
11
jenkinsfile
|
@ -18,4 +18,15 @@ node {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('Sonar Scan Execution'){
|
||||
//Run the sonar scan
|
||||
steps {
|
||||
script{
|
||||
def mvnHome = tool 'M3'
|
||||
withSonarQubeDev{
|
||||
sh "'${mvnHome}/bin/mvn' verify sonar:sonar -Dintegration-tests.skip=true -Dmaven.test.failure.ignore=true"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue