git: 9d6a16335054 - main - devel/jenkins: use jdk21

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Thu, 12 Jun 2025 11:31:41 UTC
The branch main has been updated by ronald:

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

commit 9d6a16335054165aa99975634d4bc4302f2750f0
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-05-28 11:57:28 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-06-12 11:29:08 +0000

    devel/jenkins: use jdk21
    
    Starting with Jenkins 2.509 upstream uses JDK21 in published images.
    Let's follow upstream and run on a modern JDK.
    All FreeBSD architectures that have JDK17 also have JDK21.
    NB: Jobs in Jenkins can/should use their own compiler version.
    
    PR:     287112
    Approved by:    maintainer timeout
---
 devel/jenkins/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/jenkins/Makefile b/devel/jenkins/Makefile
index f01003e38d2e..9169ab847761 100644
--- a/devel/jenkins/Makefile
+++ b/devel/jenkins/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	jenkins
 PORTVERSION=	2.513
+PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	https://get.jenkins.io/war/${PORTVERSION}/
 DISTNAME=	jenkins
@@ -14,7 +15,7 @@ WWW=		https://jenkins.io/
 LICENSE=	MIT
 
 USES=		cpe java
-JAVA_VERSION=	17+
+JAVA_VERSION=	21+
 USE_RC_SUBR=	jenkins
 
 CONFLICTS=	jenkins-lts