generated from gCubeCI/Pipeline-Docker-Template
fix parse method
This commit is contained in:
parent
f7262e098b
commit
d1a687f021
|
@ -310,11 +310,11 @@ def parseDeployPendingJobs( def deployFolder){
|
||||||
for (def record : records) {
|
for (def record : records) {
|
||||||
println("Processing record: "+record)
|
println("Processing record: "+record)
|
||||||
serviceList += "${record.get(0)},${record.get(1)},${record.get(2)}";
|
serviceList += "${record.get(0)},${record.get(1)},${record.get(2)}";
|
||||||
deployJobs(serviceList.unique())
|
|
||||||
}
|
}
|
||||||
sh "rm ${file.path}"
|
sh "rm ${file.path}"
|
||||||
}
|
}
|
||||||
sh "rm -Rf ${deployFolder}"
|
sh "rm -Rf ${deployFolder}"
|
||||||
|
deployJobs(serviceList.unique())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Deploy jobs from an input list with the following elements: serviceName,serviceVersion,targetHost.
|
//Deploy jobs from an input list with the following elements: serviceName,serviceVersion,targetHost.
|
||||||
|
|
Loading…
Reference in New Issue