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') {