From a14d8b94b7519f7340e4b2deda7497c0048eda35 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Mon, 8 Nov 2021 18:14:32 +0000 Subject: [PATCH] Submit logging artifacts in the relevant agent environment --- test/testethernetproduct.groovy | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/testethernetproduct.groovy b/test/testethernetproduct.groovy index 564fd5b..bcea28a 100644 --- a/test/testethernetproduct.groovy +++ b/test/testethernetproduct.groovy @@ -189,12 +189,12 @@ pipeline { } } } - } - stage("Archive test artifacts"){ - steps{ - script { - def artifactlist = meta.generateartifacts([ "${LOGGING_ROOT}/**"]) - archiveArtifacts artifactlist + stage("Archive test artifacts"){ + steps{ + script { + def artifactlist = meta.generateartifacts([ "${LOGGING_ROOT}/**"]) + archiveArtifacts artifactlist + } } } }