mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
Added the package shell in jenkinsfile
This commit is contained in:
parent
23f1ebfe4d
commit
8ea5c95dd2
1 changed files with 6 additions and 1 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -8,9 +8,14 @@ pipeliene {
|
|||
branch: 'main'
|
||||
}
|
||||
}
|
||||
stage ('package') {
|
||||
steps {
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
stage( 'post build' ) {
|
||||
steps {
|
||||
archiveArtifacts artifacts: '**/libs/spring-petclinic-3.0.0.jar'
|
||||
archiveArtifacts artifacts: '**/spring-petclinic-3.0.0.jar'
|
||||
onlyIfSuccesful: true
|
||||
junit testResults: '**/test-results/test/TEST-*.xml'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue