rename function

This commit is contained in:
Roberto Cirillo 2022-05-10 15:28:02 +02:00
parent b7853644e0
commit 5fca2943ed
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -72,7 +72,7 @@ pipeline {
echo 'Cron build enabled. Deploy from system ongoing' echo 'Cron build enabled. Deploy from system ongoing'
script { script {
// parse the report and extract the data // parse the report and extract the data
def components = parseCSVList(deployList) def components = estractComponentsFromCSV(deployList)
if (components.size() > 0) { if (components.size() > 0) {
for (component in components) { for (component in components) {
stage(component){ stage(component){
@ -177,8 +177,8 @@ pipeline {
} }
//parse a csv file formatted in this way: ComponentName,ComponentVersion //parse a csv file formatted in this way: ComponentName,ComponentVersion, ComponentHost
def parseCSVList(def deployList) { def estractComponentsFromCSV(def deployList) {
def components = [] def components = []
if (fileExists("${deployList}")) { if (fileExists("${deployList}")) {
echo 'file found' echo 'file found'