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}" }