mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
b8d24b528b
commit
a00bb36810
1 changed files with 0 additions and 22 deletions
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
|
@ -1,23 +1 @@
|
||||||
|
|
||||||
|
|
||||||
node('jfrognew'){
|
|
||||||
stage('scm'){
|
|
||||||
git 'https://github.com/ametgud4u/spring-petclinic.git'
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('build'){
|
|
||||||
sh label: '', script: 'mvn clean package'
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('postbuild'){
|
|
||||||
junit '**/target/surefire-reports/*.xml'
|
|
||||||
archiveArtifacts 'target/*.jar'
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Sonar') {
|
|
||||||
withSonarQubeEnv('sonar') {
|
|
||||||
sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue