From c7cb16419086d915f1420f73efad75238af64943 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 --- Common_scripts/import/importer.groovy | 5 +++++ install/install.groovy | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Common_scripts/import/importer.groovy b/Common_scripts/import/importer.groovy index bb0d32e..8df88e1 100644 --- a/Common_scripts/import/importer.groovy +++ b/Common_scripts/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': diff --git a/install/install.groovy b/install/install.groovy index c8882b3..df1afcc 100644 --- a/install/install.groovy +++ b/install/install.groovy @@ -143,7 +143,7 @@ pipeline { INTERMEDIATEEXPORTSPATH, EXPORTSPATH, VERSIONINFO, - LNPUBUILD, + LNPUBUILDIMPORT, ] cleaner = load("${autobuilder.commonscripts()}/clean/clean.groovy") cleaner.clean(cleanfolders)