-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins LTS 2.263.2
-
-
2.276 and 2.263.3
Upgrading from 2.263.1 to 2.263.2 has this undocumented change.
Zip files of artifacts no longer have a top-level directory, but all the contents at the root.
Examples:
- $BUILD_URL/artifact/target/*zip*/target.zip
- $BUILD_URL/artifact/dist/Release/*zip*/Release.zip
- $BUILD_URL/Documentation/*zip*/Documentation.zip
Possible regression of JENKINS-19947
- is related to
-
JENKINS-61473 *zip* from agent workspace folder does not contain the parent directory anymore
-
- Closed
-
- links to
[JENKINS-64621] Zip artifact downloads missing a top-level directory
Environment | Original: Jenkins | New: Jenkins LTS 2.263.2 |
Description |
Original:
Upgrading from 2.263.1 to 2.263.2 has this undocumented change.
Zip files of artifacts no longer have a top-level directory, but all the contents at the root. Examples: - {{ $BUILD_URL/artifact/target/*zip*/target.zip }} - {{ $BUILD_URL/artifact/dist/Release/*zip*/Release.zip }} - {{ $BUILD_URL/Documentation/*zip*/Documentation.zip Possible regression of |
New:
Upgrading from 2.263.1 to 2.263.2 has this undocumented change.
Zip files of artifacts no longer have a top-level directory, but all the contents at the root. Examples: - {{$BUILD_URL/artifact/target/\*zip\*/target.zip}} - {{$BUILD_URL/artifact/dist/Release/\*zip\*/Release.zip}} - {{$BUILD_URL/Documentation/\*zip\*/Documentation.zip}} Possible regression of |
Labels | New: regression |
Labels | Original: regression | New: lts-candidate regression |
Labels | Original: lts-candidate regression | New: lts-candidate regression security-1452 |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | New: Wadeck Follonier [ wfollonier ] |
I've confirmed that there is a behavioral change from 2.263.1 to 2.263.2 as described. Thanks for the report.
The test job that I created is stored in the lts-with-plugins branch of my docker-lfs repository.
When that job is run with Jenkins 2.263.1, it passes and reports the zip archive contents are all under a directory named 'archive/src'.
When that job is run with Jenkins 2.263.2, it is unstable and reports the zip archive contents are all under a directory named 'src' (no top level directory named 'archive').
I assume the change is a side effect of one of the security fixes.