Unstash artifacts

This commit is contained in:
Endolf 2018-05-23 01:39:46 +01:00
parent 517357401e
commit 9d11cb04da

27
Jenkinsfile vendored
View file

@ -18,8 +18,8 @@ pipeline {
bat 'mvn -B -DskipTests clean package'
}
post {
always {
archiveArtifacts artifacts: '**/target/*.jar*', fingerprint: true
success {
stash includes: '**/target/*.jar*', name: 'windows-artifacts'
}
}
}
@ -32,8 +32,8 @@ pipeline {
sh 'mvn -B -DskipTests clean package'
}
post {
always {
archiveArtifacts artifacts: '**/target/*.jar*', fingerprint: true
success {
stash includes: '**/target/*.jar*', name: 'linux-artifacts'
}
}
}
@ -46,12 +46,27 @@ pipeline {
sh 'mvn -B -DskipTests clean package'
}
post {
always {
archiveArtifacts artifacts: '**/target/*.jar*', fingerprint: true
success {
stash includes: '**/target/*.jar*', name: 'osx-artifacts'
}
}
}
}
}
stage('Unpack') {
agent {
label "linux"
}
steps {
unstash 'windows-artifacts'
unstash 'osx-artifacts'
unstash 'linux-artifacts'
}
post {
always {
archiveArtifacts artifacts: '**/target/*.jar*', fingerprint: true
}
}
}
}
}