diff --git a/copy/all.groovy b/copy/all.groovy index 14c0b35..24aacfb 100644 --- a/copy/all.groovy +++ b/copy/all.groovy @@ -39,11 +39,10 @@ pipeline { includes: 'meta/**', name: stashname, useDefaultExcludes: false) - { - def artifactlist = meta.generateartifacts(['**/*']) - cleaner.clean(['meta', 'autobuild']) - } + def artifactlist = meta.generateartifacts(['**/*']) + cleaner.clean(['meta', 'autobuild']) + unstash(name: stashname) artifactarchiver.archive(meta, artifactlist)