add @NonCPS to method

This commit is contained in:
Roberto Cirillo 2022-09-16 11:36:11 +02:00
parent 8094698bd1
commit 9f7b104220
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -291,6 +291,7 @@ def cleanup(def DEPLOY_FILE, def BACKUP_FILE){
//experimental test
@NonCPS
def getComponentsFromCSVDir(def dirPath){
File folder = new File(dirPath)
println ("folder ready ");
@ -321,6 +322,7 @@ def getComponentsFromCSVDir(def dirPath){
return components
}
@NonCPS
def getComponentsFromCSVDir2(def dirPath){
def list = []
def folder = new File(dirPath)
@ -355,6 +357,7 @@ def getComponentsFromCSVDir2(def dirPath){
return components
}
@NonCPS
def getComponentsFromCSVDir3(def dirPath){
println "checking current folder"
dh = new File('.')