mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
Added the name change in pipeline
This commit is contained in:
parent
315a72b91e
commit
e9f3975064
1 changed files with 9 additions and 2 deletions
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -1,5 +1,5 @@
|
|||
pipeliene {
|
||||
agent any
|
||||
pipeline {
|
||||
agent 'any'
|
||||
triggers { pollSCM '* * * * *' }
|
||||
stages {
|
||||
stage( 'version control sysytem') {
|
||||
|
@ -13,5 +13,12 @@ pipeliene {
|
|||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
stage( 'post build' ) {
|
||||
steps {
|
||||
archiveArtifacts artifacts: '**/spring-petclinic-3.0.0.jar'
|
||||
onlyIfSuccesful: true
|
||||
junit testResults: '**/test-results/test/TEST-*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue