Issue Type: Bug Bug
Assignee: Jesse Glick
Components: copyartifact
Created: 05/Nov/12 9:02 PM
Description:

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.

Project: Jenkins
Labels: exception
Priority: Minor Minor
Reporter: Jesse Glick
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to