From 09e3bfcd0cf62bc58660694335997fee8a9fc6a8 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Wed, 31 Jul 2019 08:03:54 +0100 Subject: [PATCH] GIS-1621 - Allow installer builder handle a list of artifact keys or a single string --- install/installhelper.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/installhelper.groovy b/install/installhelper.groovy index 0d1863e..75ba5d6 100644 --- a/install/installhelper.groovy +++ b/install/installhelper.groovy @@ -29,7 +29,7 @@ def Map artifactsImporter(meta, artifactDetails, installerDetails) { def importer = load("${autobuilder.commonscripts()}/import/importer.groovy") for (installer in toBuild) { def artifactKeys = installerDetails.get(installer)[1] - if (obj instanceof java.lang.Integer) { + if (artifactKeys instanceof java.lang.String) { artifactKeys = [ artifactKeys ] } for (artifactKey in artifactKeys) {