Skip to content
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

Remove Java 11 support #1937

Merged
merged 5 commits into from
Oct 6, 2024
Merged

Conversation

MarkEWaite
Copy link
Contributor

@MarkEWaite MarkEWaite commented Oct 6, 2024

Remove Java 11 support

Best reviewed with white space changes suppressed.

Jenkins weekly stopped supporting Java 11 with 2.463 https://www.jenkins.io/changelog/2.463/

Jenkins LTS stops Java 11 support with 2.479.1 30 Oct 2024

No longer generates container images for:

  • AlmaLinux
  • Alpine JDK 11
  • Debian JDK 11
  • Debian slim JDK 11
  • Red Hat Universal Base Image 8
  • Windows Server Core LTSC 2019 JDK 11

Move --strip-java-debug-attributes into jlink command line

Conditional no longer needed for that argument

Best reviewed with white space differences suppressed.

Updates base Jenkins version to 2.479. No reason to default to build with an outdated weekly when the 2.479 weekly is a security release and the 2.479.1 LTS is the first to require Java 17 or newer.

Testing done

Tested successfully with make build test on two different machines.

Confirmed the list of generated container images does not include any Java 11 container, does not include any UBI 8 container, and does not include any AlmaLinux container.

Submitter checklist

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

Jenkins weekly stopped supporting Java 11 with 2.463
https://www.jenkins.io/changelog/2.463/

Jenkins LTS stops Java 11 support with 2.479.1 30 Oct 2024

No longer generates container images for:

* AlmaLinux
* Alpine JDK 11
* Debian JDK 11
* Debian slim JDK 11
* Red Hat Universal Base Image 8
* Windows Server Core LTSC 2019 JDK 11

Move -strip-java-debug-attributes into jlink command line

Conditional no longer needed for that argument

Best reviewed with white space differences suppressed.

Tested with `make build test` on two different machines.

Confirmed the list of generated container images does not include any
Java 11 container, does not include any UBI 8 container, and does not
include any AlmaLinux container.
@MarkEWaite MarkEWaite requested a review from a team as a code owner October 6, 2024 15:59
@MarkEWaite MarkEWaite added the breaking Breaking change label Oct 6, 2024
Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -1,144 +0,0 @@
FROM almalinux:8.10 as jre-build
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me see if I can bring it up quickly up to date

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are intentionally dropping AlmaLinux support from the container images because we don't have a maintainer ready to maintain it. The UBI 9 based container image is intentionally the only Red Hat based container that we intend to maintain on Java 17 and Java 21.

Copy link
Member

@lemeurherve lemeurherve Oct 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MarkEWaite MarkEWaite merged commit 97b425c into jenkinsci:master Oct 6, 2024
12 checks passed
@MarkEWaite MarkEWaite deleted the remove-java-11 branch October 6, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants