JenkinsPipelineStrategy
- OpenShift provides this build type.- Entire build lifecycle can be monitored and managed from OpenShift.
-
Define pipelines and workflows in
Jenkinsfile
or a git repository - 1. Deploy Jenkins in OpenShift
- Configure App Project
- create project for app
- de
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