Bug 264041 - devel/jenkins - Update to java 11
Summary: devel/jenkins - Update to java 11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-17 11:50 UTC by Boris Tassou
Modified: 2022-06-28 13:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Tassou 2022-05-17 11:50:55 UTC
Hi,

The FreeBSD port of Jenkins still have openjdk8 in dependencies but Jenkins recommand java 11 :

https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/

is it possible to upgrade the dependencies?

I use jenkins 2.344.

Thanks
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2022-05-31 10:54:30 UTC
I'm still testing running jenkins with openjdk 11+ on FreeBSD, sometimes it hangs while starting up so I am a bit hesitated to mark it as USE_JAVA=11+ at this point.  In the meantime, you can directly install newer openjdk version you want and set jenkins_java_home in /etc/rc.conf, details are in /usr/local/etc/rc.d/jenkins
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-06-28 13:36:46 UTC
A commit in branch main references this bug:

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

commit ba96198389e0d8e93436f17fde33bf8c97d3a67f
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2022-06-28 13:35:56 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-06-28 13:35:56 +0000

    devel/jenkins: Update to 2.357 and use Java 11

    PR:             264041
    Sponsored by:   The FreeBSD Foundation

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