From 390492bc53594836b70ef428f79969b6d92443a3 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Sat, 21 Dec 2019 21:24:15 +0000 Subject: [PATCH] GIS-1621 - Import importer from a different scope --- install/installhelper.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/installhelper.groovy b/install/installhelper.groovy index 34a33d8..10c7827 100644 --- a/install/installhelper.groovy +++ b/install/installhelper.groovy @@ -1,3 +1,4 @@ +importer = load("${autobuilder.commonscripts()}/import/importer.groovy") import hudson.FilePath // Transfer file from intermediate position to final position; @@ -26,7 +27,6 @@ def copyToFinalPosition(String pathToIntermediate, String finalBaseFolder, Strin def Map artifactsImporter(meta, artifactDetails, installerDetails) { artifactFetched = [:] - def importer = load("${autobuilder.commonscripts()}/import/importer.groovy") for (installer in toBuild) { def artifactKeys = installerDetails.get(installer)[1] if (artifactKeys instanceof java.lang.String) {