[libvirt] [jenkins-ci PATCH 2/2] guests: Use OpenJDK 11 where possible

Andrea Bolognani posted 2 patches 6 years, 7 months ago
[libvirt] [jenkins-ci PATCH 2/2] guests: Use OpenJDK 11 where possible
Posted by Andrea Bolognani 6 years, 7 months ago
Debian 10 doesn't include OpenJDK 8, which would be a problem
if not for the fact that thankfully the Jenkins agent, which
is the only thing we need Java for, seems to work perfectly
fine with OpenJDK 11 too.

Given this fact, we can move to OpenJDK 11 pretty much across
the board and stick to OpenJDK 8 for the few platforms that
only include the older release.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 guests/vars/mappings.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 123b287..3cf125b 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -258,9 +258,11 @@ mappings:
     FreeBSD: cdrkit
 
   java:
-    deb: openjdk-8-jre-headless
-    pkg: openjdk8-jre
-    rpm: java-1.8.0-openjdk-headless
+    deb: openjdk-11-jre-headless
+    pkg: openjdk11
+    rpm: java-11-openjdk-headless
+    Debian9: openjdk-8-jre-headless
+    Ubuntu16: openjdk-8-jre-headless
 
   json-glib:
     deb: libjson-glib-dev
-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [jenkins-ci PATCH 2/2] guests: Use OpenJDK 11 where possible
Posted by Daniel P. Berrangé 6 years, 7 months ago
On Tue, Jul 09, 2019 at 06:26:35PM +0200, Andrea Bolognani wrote:
> Debian 10 doesn't include OpenJDK 8, which would be a problem
> if not for the fact that thankfully the Jenkins agent, which
> is the only thing we need Java for, seems to work perfectly
> fine with OpenJDK 11 too.
> 
> Given this fact, we can move to OpenJDK 11 pretty much across
> the board and stick to OpenJDK 8 for the few platforms that
> only include the older release.
> 
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> ---
>  guests/vars/mappings.yml | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list