change var name components

This commit is contained in:
Roberto Cirillo 2022-08-04 16:31:43 +02:00
parent f3efd14a02
commit 63cf98a6f0
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -100,8 +100,8 @@ pipeline {
println "Going to check the deploy file in ${DEPLOY_ROOT_FOLDER}" println "Going to check the deploy file in ${DEPLOY_ROOT_FOLDER}"
def components =getComponentsFromCSVDir("${DEPLOY_FILE_ROOT_FOLDER}") def components =getComponentsFromCSVDir("${DEPLOY_FILE_ROOT_FOLDER}")
if (components.size() > 0) { if (components.size() > 0) {
components.components.toSet(); def componentSet=components.toSet();
for (component in components) { for (component in componentSet) {
stage(component){ stage(component){
println "Deploy on going of component: $component" println "Deploy on going of component: $component"
catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') { catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') {