GIS-1621 - Try to stop jenkins crash - move importer definition after update to JDK 11.0.5 indicated duplicate definition

This commit is contained in:
Dan Hawkins 2019-12-22 17:47:36 +00:00
commit d2a67a28db

View file

@ -1,4 +1,3 @@
importer = load("${autobuilder.commonscripts()}/import/importer.groovy")
import hudson.FilePath import hudson.FilePath
// Transfer file from intermediate position to final position; // 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) { def Map artifactsImporter(meta, artifactDetails, installerDetails) {
artifactFetched = [:] artifactFetched = [:]
def importer = load("${autobuilder.commonscripts()}/import/importer.groovy")
def importoptions = importer.getNewImportOptions() def importoptions = importer.getNewImportOptions()
for (installer in toBuild) { for (installer in toBuild) {
def artifactKeys = installerDetails.get(installer)[1] def artifactKeys = installerDetails.get(installer)[1]