-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.124 on Windows 7 (x64),
compress-artifacts 1.10, copyartifact 1.40
Hi!
I'm testing the current jenkins-version with compress-artifacts and copyartifact 1.40 (which implements ArtifactManager). This new release of the copyartifact-plugin works with this new version of copyartifact, but there's a small issue on the download artifacts UI:
If I download the complete build-artifacts (URL: http://localhost:8080/job/Test/lastSuccessfulBuild/artifact/*zip*/.zip) a file with the name "zip.zip" will be downloaded [without compress-artifacts, the name is archive.zip].
This Zip-archive contains an additional root-node/folder '_' an all other files and folders are located under this node. Therefore, the Windows-explorer shows no content after download (within the builtin ZIP-viewer).
7-Zip (for example) seems to interpret this root-node as additional - but unnamed - folder-hierarchy; e.g. If I go into _ -> output of [...]\Downloads\zip.zip this is shown as [...]\Downloads\zip.zip\\output\
Additional notes:
Example of origin [...]\builds\lastStableBuild\archive.zip: file1.txt folder/ folder/file2.txt Downloaded zip.zip - content (nodes), seems to be: _/ _/file1.txt _/folder/ _/folder/file2.txt
This additional root-node is not included in the origin archive.zip file, which is created by the compress-artifacts plugin in the build-folder. There's also no root-node '_', If I go into a sub-folder (if any) of the artifacts and download this "sub-part" of archived files as Zip-archive.
Note: IMHO, it's an minor issue but users may think, that the downloaded archive is corrupt, if they see no content in the builtin Zip-viewer of the Windows-Explorer after download.
Best regards from Salzburg,
Markus