From d2a67a28dba92e567063ccf5a0da5be1e80bd970 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Sun, 22 Dec 2019 17:47:36 +0000 Subject: [PATCH] GIS-1621 - Try to stop jenkins crash - move importer definition after update to JDK 11.0.5 indicated duplicate definition --- install/installhelper.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/installhelper.groovy b/install/installhelper.groovy index 67578d7..317faac 100644 --- a/install/installhelper.groovy +++ b/install/installhelper.groovy @@ -1,4 +1,3 @@ -importer = load("${autobuilder.commonscripts()}/import/importer.groovy") import hudson.FilePath // Transfer file from intermediate position to final position; @@ -27,6 +26,7 @@ def copyToFinalPosition(String pathToIntermediate, String finalBaseFolder, Strin def Map artifactsImporter(meta, artifactDetails, installerDetails) { artifactFetched = [:] + def importer = load("${autobuilder.commonscripts()}/import/importer.groovy") def importoptions = importer.getNewImportOptions() for (installer in toBuild) { def artifactKeys = installerDetails.get(installer)[1]