For those who want to setup Jenkins on Red Hat OpenShift v4.10, you will find that there is a problem. Red Hat decided to remove the Jenkins operator in v4.10. I combed through the web, and tried many way - and I found that this is the easiest way to install Jenkins (https://docs.openshift.com/container-platform/4.10/openshift_images/using_images/images-other-jenkins.html)

You basically need to run a few commands.

podman login registry.redhat.io

podman pull registry.redhat.io/openshift4/ose-jenkins:latest

oc new-project jenkins

oc new-app -e \

JENKINS_PASSWORD=passw0rd \

registry.redhat.io/openshift4/ose-jenkins:latest

oc new-app jenkins-persistent

oc expose service/ose-jenkins

Kok Sing Khong
Kok Sing Khong

No responses yet