Thrown if the symlink points to a nonexistent target. Better to just not set the mode on the entry in that case.
(Do we even want to check the mode of the target at all? May be more correct to not define a mode for a symlink entry. But that would be a lesser issue than having the whole archiving process suddenly fail with an undeclared exception.)
Code changed in jenkins
User: Jesse Glick
Path:
changelog.html
core/src/main/java/hudson/util/IOUtils.java
core/src/main/java/hudson/util/io/TarArchiver.java
core/src/test/java/hudson/util/io/TarArchiverTest.java
http://jenkins-ci.org/commit/jenkins/688eb6ab5d0a0623ac256447387ec264b4704bd4
Log:
[FIXED JENKINS-14922] TarArchiver.visitSymlink can throw undeclared PosixException.
Compare: https://github.com/jenkinsci/jenkins/compare/f74fb619176e...688eb6ab5d0a