I am having an issue when starting the same pipeline job twice (running at the 
same time).Here the 'NoSuchFileException' is issued for a utils.groovy that I 
am trying to loadfrom the Groovy job script:

JOB_NAME:: D:\Jenkins\workspace\P71_STBnightly_pipe@4: pwd[Pipeline] 
loadjava.nio.file.NoSuchFileException: 
D:\Jenkins\workspace\JOB_NAME@4@script\jenkins_utils\utils.groovy


The loading code:


node ("master")
{
    def rootDir =pwd()
    echo"JOB_NAME:: ${rootDir}: pwd"
    util_scripts =load "${rootDir}@script/jenkins_utils/utils.groovy"


}


Checking on the machine the directory "D:\Jenkins\workspace\JOB_NAME@4"  (i.e. 
the ${rootDir}) indeed doesnot exist. I tried rerunning with 'lightweight 
checkout' disabled, but that does not help. 
Next I manually created the missing directory; then the job does run! But this 
is ofcourse not a solution..I am sure the pipeline plugin would be responsible 
to create the '@4' alike directories, but it either does not do that, or is 
unable to? 
I've checked the jenkins error log, but see no errors indicating the latter.
I am using Pipeline groovy v2.55 
Is there an obvious thing I am missing ? 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/122365666.2326927.1559550107778%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to