generated from gCubeCI/Pipeline-Docker-Template
change var name components
This commit is contained in:
parent
f3efd14a02
commit
63cf98a6f0
|
@ -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') {
|
||||||
|
|
Loading…
Reference in New Issue