diff --git a/copy/all.groovy b/copy/all.groovy index d0a7fb3..ea56044 100644 --- a/copy/all.groovy +++ b/copy/all.groovy @@ -32,9 +32,9 @@ pipeline { stage('Archiving artifacts') { steps { script { - def artifactlist = meta.generateartifacts(['**/*']) def artifactarchiver = load("${autobuilder.commonscripts()}/artifacts/archiver.groovy") + def cleaner = load("${autobuilder.commonscripts()}/clean/clean.groovy") cleaner.clean(['meta', 'autobuild']) dir(IMPORTS) { @@ -48,6 +48,7 @@ pipeline { cleaner.clean([IMPORTS]) + def artifactlist = meta.generateartifacts(['**/*']) artifactarchiver.archive(meta, artifactlist) } }