generated from gCubeCI/Pipeline-Docker-Template
add @NonCPS to method
This commit is contained in:
parent
8094698bd1
commit
9f7b104220
|
@ -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('.')
|
||||
|
|
Loading…
Reference in New Issue