Creating a Jenkins server instance
You must create a Jenkins server instance that will be used to run z/OS® Jenkins builds. For more information on how to configure OpenShift® Jenkins images, see Configuring Jenkins images in the OpenShift Container Platform documentation.
To create a Jenkins server instance in OpenShift from the jenkins-zos:latest image stream that you created during the previous step, you must enter the following commands:
oc new-app jenkins-persistent -p NAMESPACE=jenkins \
-p JENKINS_IMAGE_STREAM_TAG=jenkins-zos:latest\
-e OPENSHIFT_ENABLE_OAUTH=true\
-e JENKINS_JAVA_OVERRIDES=-Dhudson.model.DirectoryBrowserSupport.CSP=unsafe-inline\
-l name=jenkins -n jenkinsNote: The -e JENKINS_JAVA_OVERRIDES environment variable is required if you want to see the IBM® Dependency Based Build (DBB) build results in the Jenkins build results.
At this stage, you have a ready-to-use Jenkins server instance in OpenShift with the required plug-ins. You can follow the deployment status in the OpenShift web console, as shown in the following screen capture:

When the deployment is complete, you can click the arrow
to open the Jenkins web console. You will be prompted to enter your OpenShift credentials.