Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14922

TarArchiver.visitSymlink can throw undeclared PosixException

      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.)

          [JENKINS-14922] TarArchiver.visitSymlink can throw undeclared PosixException

          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

          SCM/JIRA link daemon added a comment - 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

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1861
          [FIXED JENKINS-14922] TarArchiver.visitSymlink can throw undeclared PosixException. (Revision 688eb6ab5d0a0623ac256447387ec264b4704bd4)

          Result = UNSTABLE
          Jesse Glick : 688eb6ab5d0a0623ac256447387ec264b4704bd4
          Files :

          • core/src/main/java/hudson/util/io/TarArchiver.java
          • core/src/test/java/hudson/util/io/TarArchiverTest.java
          • core/src/main/java/hudson/util/IOUtils.java
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #1861 [FIXED JENKINS-14922] TarArchiver.visitSymlink can throw undeclared PosixException. (Revision 688eb6ab5d0a0623ac256447387ec264b4704bd4) Result = UNSTABLE Jesse Glick : 688eb6ab5d0a0623ac256447387ec264b4704bd4 Files : core/src/main/java/hudson/util/io/TarArchiver.java core/src/test/java/hudson/util/io/TarArchiverTest.java core/src/main/java/hudson/util/IOUtils.java changelog.html

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: