New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-64621] Fix zip regression #5187
Conversation
I built a local copy of jenkins.war with this change and verified that it successfully completes the test that consistently fails with Jenkins 2.275. Thanks for the quick response @Wadeck and @jeffret-b . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm it works. Thanks @Wadeck!
This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. We may choose to merge this one before the full 24 hours has elapsed so that it can be included in the Jenkins 2.276 weekly release Jan 19, 2021. @jeffret-b is it OK to merge this without the additional test coverage that you had implemented? I assume the additional test coverage can be merged later, after adapting it to the API changes in this pull request. |
Thanks for adding this fix! Just chiming in and adding that this regression does have a significant impact on us and this is preventing us from moving to 2.263.2. We would appreciate an expedited merge/LTS if possible. |
@noamran have you verified that the change resolves your issue? Have you done any exploratory testing to see if there are unexpected results from the change? |
FTR still unresolved in 2.274, but only affected agent workspaces. |
That seems premature TBH, but 🤷 |
build passed previously with the same code (since it was reverted), and weekly will go out automatically in the next few hours |
Appears to also resolve JENKINS-61473. Could someone confirm and update the changelog suggestion? |
This looks good, though I haven't tested it. I have a more complete set of automated tests I'd like to run with it, but it will take a bit to get them properly targeted and running again. I don't think it's getting into the more troublesome areas, though, so it's probably fine. |
(cherry picked from commit ecf3095)
(cherry picked from commit ecf3095)
See JENKINS-64621.
The zip created from the workspace (or other location related to DirectoryBrowserSupport) contains the parent folder when there is no glob pattern. This behavior was changed during the fix but was not required.
History of that feature being broken:
Proposed changelog entries
String prefix
.Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgradeDesired reviewers
@jeffret-b @daniel-beck @timja
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are correctupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).