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

Switching archive type of cloned workspace leads to Exception in further jobs

      Consider two jobs A, B. Job A archives/clones some workspace files. Job B uses the CloneWorkspaceSCM component to restore workspace of A.

      The bug occurs if you switch the archive type of A leading to an IOException, when B tries to unpack the workspace archive.

      If you manually rename the archive filename to the prior archive type extension (ie. tar.gz -> zip) on the master node, job B does not complain.

      Please let me know, if you need further informations to resolve this issue.

      Greetings, Martin

          [JENKINS-15038] Switching archive type of cloned workspace leads to Exception in further jobs

          related to JENKINS-16695

          Martin Scherer added a comment - related to JENKINS-16695

          Martin Scherer added a comment - JENKINS-16695

          Code changed in jenkins
          User: cschabl
          Path:
          src/main/java/hudson/plugins/cloneworkspace/CloneWorkspaceUtil.java
          http://jenkins-ci.org/commit/jenkins-clone-workspace-scm-plugin/d436b42b5e920dbd81b7ead32c3a13f0961da678
          Log:
          Fix of JENKINS-15038: Switching archive type of cloned workspace leads to Exception in further jobs

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: cschabl Path: src/main/java/hudson/plugins/cloneworkspace/CloneWorkspaceUtil.java http://jenkins-ci.org/commit/jenkins-clone-workspace-scm-plugin/d436b42b5e920dbd81b7ead32c3a13f0961da678 Log: Fix of JENKINS-15038 : Switching archive type of cloned workspace leads to Exception in further jobs

          Code changed in jenkins
          User: Andrew Bayer
          Path:
          src/main/java/hudson/plugins/cloneworkspace/CloneWorkspaceUtil.java
          http://jenkins-ci.org/commit/jenkins-clone-workspace-scm-plugin/805ab15bebd6fbbf3562f2be87a9d20ba7a1a79c
          Log:
          Merge pull request #7 from cschabl/master

          Fix of JENKINS-15038: switching archive to ZIP

          Compare: https://github.com/jenkinsci/jenkins-clone-workspace-scm-plugin/compare/90b2239f59cf...805ab15bebd6

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: src/main/java/hudson/plugins/cloneworkspace/CloneWorkspaceUtil.java http://jenkins-ci.org/commit/jenkins-clone-workspace-scm-plugin/805ab15bebd6fbbf3562f2be87a9d20ba7a1a79c Log: Merge pull request #7 from cschabl/master Fix of JENKINS-15038 : switching archive to ZIP Compare: https://github.com/jenkinsci/jenkins-clone-workspace-scm-plugin/compare/90b2239f59cf...805ab15bebd6

            abayer Andrew Bayer
            marscher Martin Scherer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: