As recommended by upstram, switch Jenkins JAVA Version to 11. https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/
I think this should also find a note in faq/current.html OK? Index: Makefile.inc =================================================================== RCS file: /cvs/ports/devel/jenkins/Makefile.inc,v retrieving revision 1.8 diff -u -p -r1.8 Makefile.inc --- Makefile.inc 12 Jul 2019 20:44:36 -0000 1.8 +++ Makefile.inc 12 Dec 2021 07:54:09 -0000 @@ -22,7 +22,7 @@ PERMIT_PACKAGE = Yes EXTRACT_ONLY = # empty MODULES = java -MODJAVA_VER = 1.8+ +MODJAVA_VER = 11 MODJAVA_JRE = yes RUN_DEPENDS = java/javaPathHelper Index: devel/Makefile =================================================================== RCS file: /cvs/ports/devel/jenkins/devel/Makefile,v retrieving revision 1.97 diff -u -p -r1.97 Makefile --- devel/Makefile 8 Dec 2021 06:15:07 -0000 1.97 +++ devel/Makefile 12 Dec 2021 07:54:09 -0000 @@ -3,5 +3,6 @@ VERSION = 2.324 MASTER_SITES = http://mirrors.jenkins-ci.org/war/${VERSION}/ DIST_SUBDIR = jenkins-devel +REVISION = 0 .include <bsd.port.mk> Index: stable/Makefile =================================================================== RCS file: /cvs/ports/devel/jenkins/stable/Makefile,v retrieving revision 1.44 diff -u -p -r1.44 Makefile --- stable/Makefile 6 Nov 2021 10:38:40 -0000 1.44 +++ stable/Makefile 12 Dec 2021 07:54:09 -0000 @@ -3,6 +3,6 @@ VERSION = 2.303.2 MASTER_SITES = http://mirrors.jenkins-ci.org/war-stable/${VERSION}/ DIST_SUBDIR = jenkins-stable -REVISION = 0 +REVISION = 1 .include <bsd.port.mk>