Bug 279027

Summary: devel/jenkins: Java 11 end of life in Jenkins
Product: Ports & Packages Reporter: Ronald Klop <ronald>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: In Progress ---    
Severity: Affects Some People CC: lwhsu
Priority: --- Flags: ronald: maintainer-feedback? (lwhsu)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
git diff: update USE_JAVA
none
git diff: update USE_JAVA ronald: maintainer-approval?

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(-)