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

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

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          marscher Martin Scherer added a comment -

          related to JENKINS-16695

          Show
          marscher Martin Scherer added a comment - related to JENKINS-16695
          Hide
          marscher Martin Scherer added a comment -
          Show
          marscher Martin Scherer added a comment - JENKINS-16695
          Hide
          scm_issue_link 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

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: