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'
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'