Create a custom image stream for Jenkins
This commit is contained in:
parent
d99ecc6df5
commit
84a77ec6df
1 changed files with 6 additions and 2 deletions
|
@ -38,5 +38,9 @@ oc new-project cicd
|
|||
oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n rubex-dev
|
||||
oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n rubex-test
|
||||
|
||||
oc new-app --name=jenkins omallo/oc-jenkins
|
||||
oc expose svc ci --hostname ci.oc.habitz-app.com
|
||||
oc project openshift
|
||||
oc create is oc-jenkins
|
||||
oc tag --source=docker --scheduled=true omallo/oc-jenkins:latest openshift/oc-jenkins:latest
|
||||
|
||||
#oc new-app --name=jenkins omallo/oc-jenkins
|
||||
#oc expose svc ci --hostname ci.oc.habitz-app.com
|
||||
|
|
Loading…
Reference in a new issue