Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 1.02 KB

README.md

File metadata and controls

29 lines (16 loc) · 1.02 KB

openshift-jenkins-maven-slave

Maven Slave Image for Jenkins on OpenShift with Java 11.

Similar to the "official" image but using:

  • Maven 3.6.2
  • OpenJDK 11

The Docker image is available on Quay:

nmalvankar/jenkins-maven-agent-jdk11

Motivation

The Openshift Jenkins Repository contains ready to use slave image with OpenJDK 8 but none for Java 11 (see Issue 722).

Configuration

Create a new image stream in the openshift namespace

oc import-image jenkins-maven-agent-jdk11 --from=quay.io/nmalvankar/jenkins-maven-agent-jdk11 --confirm

In Jenkins administration, add a new Kubernetes Pod Template (or change an existing one) to use the imagestream

image-registry.openshift-image-registry.svc:5000/openshift/jenkins-maven-agent-jdk11

Configuration