OpenShift Jenkins Pipeline Library
Current Goal: Build and test container images on OpenShift with Jenkins and supporting
multibranches (pull requests).
oc new-project <project-name>
oc create -f https://raw.githubusercontent.com/RHsyseng/openshift-pipeline-library/master/jenkins/openshift/template.yaml
oc new-app --template docker-image-testing \
-p JENKINS_ORG_FOLDER_NAME=RHsyseng \
-p JENKINS_GITHUB_OWNER=RHsyseng-user \
-p JENKINS_GITHUB_REPO=openshift-client-library \
-p JENKINS_GITHUB_CRED_ID=github \
-p GITHUB_USERNAME=RHsyseng-user \
-p GITHUB_TOKEN=token
oc new-app --template jenkins-ephemeral -p NAMESPACE=$(oc project -q) -p MEMORY_LIMIT=2Gi
oc create -f https://raw.githubusercontent.com/RHsyseng/openshift-pipeline-library/master/jenkins/openshift/pipeline.yaml
oc start-build createcred-pipeline