jenkinsci / docker

Docker official jenkins repo
https://hub.docker.com/r/jenkins/jenkins
MIT License
6.73k stars 4.55k forks source link

fix: set jlink compression arg to `zip-6` for Windows jdk21 image #1864

Closed lemeurherve closed 7 months ago

lemeurherve commented 7 months ago

This PR sets jlink compression arg to zip-6 for Windows jdk21 image like it's done in Linux jdk21 images.

From https://github.com/jenkinsci/docker/pull/1857:

Complement of https://github.com/jenkinsci/docker/pull/1848 which introduced jlink in the Windows controller image.

Note: jlink on Windows should be properly tested, might worth its own issue.

Extracted here if it needs to be merged separately.

Testing done

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue