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) {