-
Bug
-
Resolution: Fixed
-
Minor
-
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.
- is related to
-
JENKINS-64621 Zip artifact downloads missing a top-level directory
-
- Closed
-
[JENKINS-61473] *zip* from agent workspace folder does not contain the parent directory anymore
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. |
Environment |
New:
2.190.2 2.204.5 worked with 2.138.3 |
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 |
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 |
Labels | New: regression |
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 |
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. |
Link |
New:
This issue is related to |
Released As | New: 2.276 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
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.