Fix the stashing and unstashing

This commit is contained in:
Endolf 2018-05-23 17:49:04 +01:00
parent f541fdb219
commit 5b0cafeb36

8
Jenkinsfile vendored
View file

@ -31,6 +31,12 @@ pipeline {
sh 'echo $JAVA_HOME'
sh 'mvn -B -DskipTests clean package'
}
post {
success {
stash includes: 'plugins/**/target/*.jar*', name: 'linux-artifacts'
stash includes: '**/target/*.jar*', excludes: 'plugins/**/target/*.jar*', name: 'core-artifacts'
}
}
}
stage('Build on OSX') {
agent {
@ -53,8 +59,10 @@ pipeline {
label "linux"
}
steps {
unstash 'core-artifacts'
unstash 'windows-artifacts'
unstash 'osx-artifacts'
unstash 'linux-artifacts'
}
post {
always {