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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • core
    • failed with 2.190.2
      failed with 2.204.5
      worked with 2.138.3
    • 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

            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.

            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

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

              Dates

                Created:
                Updated:
                Resolved: