From 10d0019fd44ae1bb149ca3c7760a1dfd66459656 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Sat, 29 Jan 2022 16:13:21 +0000 Subject: [PATCH] Ensure script objects are around when source files have been cleaned --- copy/all.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) } }