On Sun Dec 12, 2021 at 08:58:25AM +0100, Rafael Sadowski wrote:
> 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

I tested the upgrade process. OK with the following current.html note?

Index: faq/current.html
===================================================================
RCS file: /cvs/www/faq/current.html,v
retrieving revision 1.1080
diff -u -p -r1.1080 current.html
--- faq/current.html    3 Nov 2021 16:56:52 -0000       1.1080
+++ faq/current.html    18 Dec 2021 09:26:57 -0000
@@ -108,6 +108,13 @@ It can be re-enabled by adding the follo
 
 <pre class="cmdbox">xterm*allowMouseOps: true</pre>
 
+<h3 id="r20211218">2021/12/18 - jenkins package - Java version from 8 to 11  
</h3>
+
+As recommended upstream we switch the default Java version from 8 to 11. See:
+<a 
href="https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/";>Upgrading
 Jenkins Java version from 8 to 11</a>.
+
+After the update, Jenkins must be restarted and runs automatically with Java 
11.
+<pre class="cmdbox">rcctl restart jenkins</pre>
 
 <!--
      Two blank lines before new sections.

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

Reply via email to