From 1dcbf2b2a258e0bcec9b7a2dfc942c9f28c69add Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Fri, 11 Dec 2020 09:47:51 +0000 Subject: [PATCH] Try to print out related components --- install/install.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/install.groovy b/install/install.groovy index 62f51e1..4873163 100644 --- a/install/install.groovy +++ b/install/install.groovy @@ -148,7 +148,8 @@ pipeline { importoptions.jenkinsjob(ATLAS_CUSTOM_MODULES_COMPILE_JOB, ATLAS_CUSTOM_MODULES_COMPILE_JOB_SELECTOR) importoptions.setincrementversionnumber(false) def compilemeta = importer.artifactimport(meta, importoptions, "${IMPORTSPATH}\\build\\moduleset") - def relatedcomponents = compilemeta.metareleasewalkerversionunique(1) + def maxdepth = 1 + def relatedcomponents = compilemeta.metareleasewalkerversionunique(maxdepth.toInteger()) relatedcomponents.each { relatedcomponent -> echo "relatedcomponent string: ${relatedcomponent.key}" }