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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • failed with 2.190.2
      failed with 2.204.5
      worked with 2.138.3
    • 2.276

      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.

       

          [JENKINS-61473] *zip* from agent workspace folder does not contain the parent directory anymore

          Johannes Schmieder created issue -
          Johannes Schmieder made changes -
          Description Original: If you do downlad all files as zip from a workspace folder, it doesn't contain the parnet folder.

          If you download all files from archive folder it does contain the parent folder.

          i.e.

          [http://server/job/project/ws/dirA/*zip*/dirA.zip|http://server/job/project/ws/folder/*zip*/folder.zip

          content of dirA.zip: 

          ./file1

          ./file2

          ./folderA/

          -> does not contain parent folder dirA.

           

          [http://server/job/project/lastSuccessfulBuild/artifact/dirA/*zip*/dirA.zip|http://server/job/project/ws/folder/*zip*/folder.zip

          content of dirA.zip: 

          ./dirA/file1

          ./dirA/file2

          ./fdirA/folderA/

          -> does contain parent folder dirA.

           
          New: If you do downlad all files as zip from a workspace folder, it doesn't contain the parnet folder.

          If you download all files from archive folder 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.

           
          Johannes Schmieder made changes -
          Environment New: 2.190.2
          2.204.5

          worked with 2.138.3
          Johannes Schmieder made changes -
          Environment Original: 2.190.2
          2.204.5

          worked with 2.138.3
          New: 2.190.2
          2.204.5
          worked with 2.138.3
          Johannes Schmieder made changes -
          Environment Original: 2.190.2
          2.204.5
          worked with 2.138.3
          New: failed with 2.190.2
          failed with 2.204.5
          worked with 2.138.3
          Daniel Beck made changes -
          Labels New: regression
          Daniel Beck made changes -
          Summary Original: *zip* from workspace folder does not contain the parent directory anymore New: *zip* from agent workspace folder does not contain the parent directory anymore
          Daniel Beck made changes -
          Description Original: If you do downlad all files as zip from a workspace folder, it doesn't contain the parnet folder.

          If you download all files from archive folder 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.

           
          New: 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.

           
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-64621 [ JENKINS-64621 ]
          Daniel Beck made changes -
          Released As New: 2.276
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: