mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 02:45:50 +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'
|
branch: 'main'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage ('package') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn package'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage( 'post build' ) {
|
stage( 'post build' ) {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts artifacts: '**/libs/spring-petclinic-3.0.0.jar'
|
archiveArtifacts artifacts: '**/spring-petclinic-3.0.0.jar'
|
||||||
onlyIfSuccesful: true
|
onlyIfSuccesful: true
|
||||||
junit testResults: '**/test-results/test/TEST-*.xml'
|
junit testResults: '**/test-results/test/TEST-*.xml'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue