FS#71269 - [jenkins] Update jre dependency from 8 to 11

Attached to Project: Arch Linux
Opened by Richard Neumann (rne) - Wednesday, 16 June 2021, 09:28 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 16 June 2021, 09:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The web interface of jenkins-2.298-1 informs the user, that java-11 is recommended to run jenkins.
However, the package still has a hard dependency on java-8.

Additional info:
* package version(s) 2.298-1

Steps to reproduce:
Visit web interface of up-to-date jenkins installation.

To run jenkins with java-11 nonetheless, you can edit /etc/conf.d/jenkins:

$ diff -Naur jenkins /etc/conf.d/jenkins
--- jenkins 2021-06-16 09:25:47.895048193 +0000
+++ /etc/conf.d/jenkins 2021-06-16 09:25:42.125050490 +0000
@@ -1,4 +1,4 @@
-JAVA=/usr/lib/jvm/java-8-openjdk/jre/bin/java
+JAVA=/usr/lib/jvm/java-11-openjdk/bin/java
JAVA_ARGS=-Xmx512m
JAVA_OPTS=
JENKINS_USER=jenkins
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 16 June 2021, 09:31 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#71254   FS#71111 

Loading...