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

TarArchiver.visitSymlink can throw undeclared PosixException

    Details

    • Similar Issues:

      Description

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

        Attachments

          Activity

          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          dogfood 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
          Show
          dogfood 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: