From f821da79d81ee32c13f98d60210f76e09c4bb772 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Thu, 13 Jan 2022 12:38:49 +0000 Subject: [PATCH] CORE-594 - Debug installer creation --- import/importer.groovy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/import/importer.groovy b/import/importer.groovy index bb0d32e..8df88e1 100644 --- a/import/importer.groovy +++ b/import/importer.groovy @@ -45,6 +45,10 @@ class ImportOptions { m_appendtoparentmeta = appendtoparentmeta } + void show() { + script.echo(this.toString()) + } + void setsourceselect(String sourceselect) { sourceselect = sourceselect.trim() switch (sourceselect) { @@ -263,6 +267,7 @@ def artifactimportfromrepo(meta, ImportOptions importoptions, String destpath) { } def artifactimport(meta, ImportOptions importoptions, String destpath) { + importoptions.show() switch (importoptions.m_sourceselect) { case 'Jenkins job artifact': case 'Jenkins job artefact':