Use a custom Jenkins Docker image with OpenShift installed

This commit is contained in:
Ovidio Mallo 2016-12-06 14:00:05 +01:00
parent c458296ff9
commit 27f8a59b41

View file

@ -38,5 +38,5 @@ oc new-project cicd
oc policy add-role-to-user edit system:serviceaccount:cicd:default -n rubex-dev oc policy add-role-to-user edit system:serviceaccount:cicd:default -n rubex-dev
oc policy add-role-to-user edit system:serviceaccount:cicd:default -n rubex-test oc policy add-role-to-user edit system:serviceaccount:cicd:default -n rubex-test
oc new-app library/jenkins:2.19.4 oc new-app --name=ci omallo/oc-jenkins
oc expose svc jenkins --hostname ci.oc.habitz-app.com oc expose svc ci --hostname ci.oc.habitz-app.com