mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15:49 +00:00
Update jenkinsfiles
This commit is contained in:
parent
83252750d7
commit
d0c48c7e5b
1 changed files with 7 additions and 5 deletions
12
jenkinsfiles
12
jenkinsfiles
|
@ -11,10 +11,12 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
stage('build'){
|
||||||
success {
|
steps {
|
||||||
// Archive the artifacts
|
sh 'mvn clean package'
|
||||||
archiveArtifacts artifacts: '**/surefire-reports/*.xml'
|
junit testResults: '**/surefire-reports/*_xml'
|
||||||
}
|
archive '**/target/spring-petclinic-*.jar
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue