Use a custom Jenkins Docker image with OpenShift installed
This commit is contained in:
parent
c458296ff9
commit
27f8a59b41
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue