mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 19:07:28 +00:00
fix package java
This commit is contained in:
parent
5e7b2ec89c
commit
2293c8095b
1 changed files with 7 additions and 1 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
|
@ -129,6 +129,11 @@ pipeline {
|
|||
echo 'Packaging application...'
|
||||
sh './mvnw package -DskipTests'
|
||||
}
|
||||
post {
|
||||
success {
|
||||
stash name: 'jar-artifacts', includes: 'target/*.jar', allowEmpty: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*********************************************
|
||||
|
|
@ -137,7 +142,8 @@ pipeline {
|
|||
stage('Archive') {
|
||||
steps {
|
||||
echo 'Archiving artifacts...'
|
||||
archiveArtifacts artifacts: '**/target/*.jar',
|
||||
unstash 'jar-artifacts'
|
||||
archiveArtifacts artifacts: 'target/*.jar',
|
||||
fingerprint: true,
|
||||
allowEmptyArchive: false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue