From 04b2dce53a3af82f1851ed86493fef31b11ed108 Mon Sep 17 00:00:00 2001 From: Endolf Date: Wed, 23 May 2018 17:19:47 +0100 Subject: [PATCH] Reduce the items we are stashing and unstashing. --- Jenkinsfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4420b46..fb3d9a8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,7 @@ pipeline { } post { success { - stash includes: '**/target/*.jar*', name: 'windows-artifacts' + stash includes: 'plugins/**/target/*.jar*', name: 'windows-artifacts' } } } @@ -33,7 +33,7 @@ pipeline { } post { success { - stash includes: '**/target/*.jar*', name: 'linux-artifacts' + stash includes: 'plugins/**/target/*.jar*', name: 'linux-artifacts' } } } @@ -47,7 +47,7 @@ pipeline { } post { success { - stash includes: '**/target/*.jar*', name: 'osx-artifacts' + stash includes: 'plugins/**/target/*.jar*', name: 'linux-artifacts' } } } @@ -60,7 +60,6 @@ pipeline { steps { unstash 'windows-artifacts' unstash 'osx-artifacts' - unstash 'linux-artifacts' } post { always {