generated from gCubeCI/Pipeline-Docker-Template
add NonCPS tag to the method
This commit is contained in:
parent
8842ea81bb
commit
ccb34365ca
|
@ -297,10 +297,10 @@ def cleanup(def DEPLOY_FILE, def BACKUP_FILE){
|
|||
|
||||
//experimental test
|
||||
|
||||
//@NonCPS
|
||||
@NonCPS
|
||||
def getComponentsFromCSVDir(def dirPath){
|
||||
// File folder = new File(dirPath)
|
||||
folder= new FilePath(Jenkins.getInstance().getComputer(env['NODE_NAME']).getChannel(), dirPath);
|
||||
File folder = new File(dirPath)
|
||||
// folder= new FilePath(Jenkins.getInstance().getComputer(env['NODE_NAME']).getChannel(), dirPath);
|
||||
println ("folder ready ");
|
||||
if (folder){
|
||||
println (" processing folder "+folder);
|
||||
|
|
Loading…
Reference in New Issue