mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-28 18:35: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 {
|
pipeline {
|
||||||
agent any
|
agent 'any'
|
||||||
triggers { pollSCM '* * * * *' }
|
triggers { pollSCM '* * * * *' }
|
||||||
stages {
|
stages {
|
||||||
stage( 'version control sysytem') {
|
stage( 'version control sysytem') {
|
||||||
|
@ -13,5 +13,12 @@ pipeliene {
|
||||||
sh 'mvn package'
|
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