From 63cf98a6f038e6706d91fecc90f14f68b854fb40 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Thu, 4 Aug 2022 16:31:43 +0200 Subject: [PATCH] change var name components --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a824143..ab8ba76 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -100,8 +100,8 @@ pipeline { println "Going to check the deploy file in ${DEPLOY_ROOT_FOLDER}" def components =getComponentsFromCSVDir("${DEPLOY_FILE_ROOT_FOLDER}") if (components.size() > 0) { - components.components.toSet(); - for (component in components) { + def componentSet=components.toSet(); + for (component in componentSet) { stage(component){ println "Deploy on going of component: $component" catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') {