generated from gCubeCI/Pipeline-Docker-Template
rename function
This commit is contained in:
parent
b7853644e0
commit
5fca2943ed
|
@ -72,7 +72,7 @@ pipeline {
|
|||
echo 'Cron build enabled. Deploy from system ongoing'
|
||||
script {
|
||||
// parse the report and extract the data
|
||||
def components = parseCSVList(deployList)
|
||||
def components = estractComponentsFromCSV(deployList)
|
||||
if (components.size() > 0) {
|
||||
for (component in components) {
|
||||
stage(component){
|
||||
|
@ -177,8 +177,8 @@ pipeline {
|
|||
}
|
||||
|
||||
|
||||
//parse a csv file formatted in this way: ComponentName,ComponentVersion
|
||||
def parseCSVList(def deployList) {
|
||||
//parse a csv file formatted in this way: ComponentName,ComponentVersion, ComponentHost
|
||||
def estractComponentsFromCSV(def deployList) {
|
||||
def components = []
|
||||
if (fileExists("${deployList}")) {
|
||||
echo 'file found'
|
||||
|
|
Loading…
Reference in New Issue