openshift/jenkins

Jenkins Agent Java 17 images for OCP timeline

Closed this issue · 7 comments

ewoks commented

Is there a timeline/plan for new Jenkins images for OCP?
Are there plans to publish Jenkins Agent Java 17 based image for OpenShift 4.x?
I assume that would be openshift4/ose-jenkins-agent-maven image. The goal is to be able to build the apps with Java 17.

ewoks commented

Can someone give any hint on this please? @mfojtik @adambkaplan @akram @gabemontero

Actually @ewoks we are pivoting a bit wrt openshift agent images.

In the upcoming 4.10 release (final code freeze was in fact earlier today), we are now providing multi container PodTemplates where the jnlp container is our base agent image, and the language container is an image from the RH container catalog.

We are shipping java/nodejs examples for those multi container pod templates, and as it turns out the java one will in fact be java 17 based per the fact we are accessing the latest tag of java imagestream in the openshift namespace ... see https://github.com/openshift/jenkins/blob/master/2/contrib/jenkins/kube-slave-common.sh#L35 and i.e. https://github.com/openshift/cluster-samples-operator/blob/master/assets/operator/ocp-x86_64/java/imagestreams/java-rhel-x86_64.json#L187-L190

As of 4.10 we will in fact be deprecating the PodTemplates based on the existing maven and nodejs agent images

In the coming releases (timeline is still a bit TBD) we will eventually be deprecating those maven / nodejs agent images.

ewoks commented

Roger that, thanks for the clarifications.
Is there any place where I could read more details about migration path to this new model?

Roger that, thanks for the clarifications. Is there any place where I could read more details about migration path to this new model?

Sure. This is pure Jenkins subject, so the doc is there, though the upcoming 4.10 doc will have some examples as well showing how to leverage this feature of the Jenkins Kubernetes Plugin.

The Jenkins doc you should look at are at https://plugins.jenkins.io/kubernetes/#plugin-content-usage and the multi container subsection at https://plugins.jenkins.io/kubernetes/#plugin-content-multiple-containers-support

akram commented

/close

@akram: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

It is unclear to me if we are getting a Java 17 version of https://catalog.redhat.com/software/containers/openshift4/ose-jenkins-agent-maven/5cdd8fe55a13467289f615e7 or not? Can not found anything about this unfortunately