Get up to 50% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

Running Jenkins Pipelines on OpenShift

1. Deploy Jenkins in OpenShift

## Check available jenkins template
$ oc get templates -n openshift | grep jenkins

## Create a new project
$ oc new-project jenkins-project

## Deploy jenkins and wait for the deployment up and running
$ oc new-app  --as-deployment-config \
> jenkins-ephemeral -p MEMORY_LIMIT=2048Mi

$ oc get pod
## find the jenkins app url
$ oc get route

Login with OpenShift credentials and Authorize Access.

Configure App Project

## create project for app
$ oc new-project cicd-app-demo

## de