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

*zip* from agent workspace folder does not contain the parent directory anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Environment:
      failed with 2.190.2
      failed with 2.204.5
      worked with 2.138.3
    • Similar Issues:
    • Released As:
      2.276

      Description

      If you download all files as zip from an agent workspace folder, it doesn't contain the parent folder.

      If you download all files from archived artifacts or master workspaces it does contain the parent folder.

      i.e.

      http://server/job/project/ws/dirA/*zip*/dirA.zip

      content of dirA.zip: 

      ./file1

      ./file2

      ./folderA/

      -> does not contain parent folder dirA.

       

      http://server/job/project/lastSuccessfulBuild/artifact/dirA/*zip*/dirA.zip

      content of dirA.zip: 

      ./dirA/file1

      ./dirA/file2

      ./fdirA/folderA/

      -> does contain parent folder dirA.

       

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            This issue is still unresolved (except 2.275 stripped the directory from everything). It only manifests with agent workspaces, so the trivial attempt to reproduce on a new instance and download the workspace from master will not show it.

            Show
            danielbeck Daniel Beck added a comment - This issue is still unresolved (except 2.275 stripped the directory from everything). It only manifests with agent workspaces, so the trivial attempt to reproduce on a new instance and download the workspace from master will not show it.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              josch Johannes Schmieder
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: