Bug 279027 - devel/jenkins: Java 11 end of life in Jenkins
Summary: devel/jenkins: Java 11 end of life in Jenkins
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-16 09:56 UTC by Ronald Klop
Modified: 2024-06-18 18:44 UTC (History)
1 user (show)

See Also:
ronald: maintainer-feedback? (lwhsu)


Attachments
git diff: update USE_JAVA (1.12 KB, text/plain)
2024-05-16 09:56 UTC, Ronald Klop
no flags Details
git diff: update USE_JAVA (1.12 KB, patch)
2024-05-16 10:09 UTC, Ronald Klop
ronald: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop freebsd_committer freebsd_triage 2024-05-16 09:56:46 UTC
Created attachment 250693 [details]
git diff: update USE_JAVA

In the alert box in the top bar Jenkins gives this warning:

"Java 11 end of life in Jenkins

You are running Jenkins on Java 11, support for which will end on or after Sep 30, 2024. Refer to the documentation for more details."


I think it would be nice to start using Java 17 for Jenkins in the main branch of ports so in Q3 we have a supported JDK version in the 2024Q3 branch.

I have the attached patch build via poudriere and running in my home setup on RPI4/aarch64.

According to the https://www.freshports.org/java/openjdk17#packages packages overview Java 17 is available on all platforms.
Comment 1 Ronald Klop freebsd_committer freebsd_triage 2024-05-16 10:09:33 UTC
Created attachment 250694 [details]
git diff: update USE_JAVA

Updated patch to the latest version in ports.
Comment 2 Ronald Klop freebsd_committer freebsd_triage 2024-06-11 06:28:14 UTC
Some new info popped up this morning. 

https://www.jenkins.io/blog/2024/06/11/require-java-17/

“Beginning with the Jenkins 2.463 weekly release (scheduled for release on June 18, 2024), Jenkins requires Java 17 or newer.“
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-06-18 18:44:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6534f9e18c607487244e6d510b1edfba759e16ff

commit 6534f9e18c607487244e6d510b1edfba759e16ff
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2024-06-18 18:38:02 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-06-18 18:38:02 +0000

    devel/jenkins: Update to 2.463

    Since this version, Jenkins requires Java 17 or newer:
    https://www.jenkins.io/blog/2024/06/11/require-java-17/ [1]

    PR:             279027
    Reported by:    ronald
    Sponsored by:   The FreeBSD Foundation

 devel/jenkins/Makefile | 4 ++--
 devel/jenkins/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)