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

          Jesse Glick created issue -
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]

          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
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          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
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145623 ] New: JNJira + In-Review [ 191564 ]

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

              Created:
              Updated:
              Resolved: