-
Bug
-
Resolution: Fixed
-
Minor
A user previously encountering JENKINS-14962 now reported an exception:
hudson.os.PosixException: /…JENKINS_HOME…/jobs/…/builds/…/archive/…path… ENOENT at hudson.os.PosixAPI$1.error(PosixAPI.java:43) at org.jruby.ext.posix.LinuxPOSIX.stat(LinuxPOSIX.java:89) at hudson.util.IOUtils.mode(IOUtils.java:125) at hudson.FilePath$24.invoke(FilePath.java:1369) at hudson.FilePath$24.invoke(FilePath.java:1367) at hudson.FilePath.act(FilePath.java:851) at hudson.FilePath.act(FilePath.java:824) at hudson.FilePath.mode(FilePath.java:1367) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:79) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:64) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:215)
Not clear what the cause is, since this call to FilePath.mode follows the actual copying of the file, which presumably succeeded. Nonetheless, can at least catch this exception and just log it, since changing file mode is not critical.
- is related to
-
JENKINS-14962 Failure to copy artifacts from Master job to slave job
- Open