Professional Documents
Culture Documents
Cicd With Openshift, Jenkins and Blue Ocean PDF
Cicd With Openshift, Jenkins and Blue Ocean PDF
Objectives
Key objectives of this chapter
OpenShift
Jenkins
Integrating OpenShift with Jenkins
Jenkins Pipeline
Blue Ocean
openshift start
export KUBECONFIG="$
(pwd)"/openshift.local.config/master/admin.kubeconfig
export CURL_CA_BUNDLE="$
(pwd)"/openshift.local.config/master/ca.crt
atomic-openshift-installer install
oc cluster down
Check status
oc status
Check user
oc whoami
Connect as admin
oc login -u system:admin
Get projects list
oc projects
Create new project
oc new-project <prj>
Make a project the active project
oc project <prj>
oc describe svc/<service-name>
Expose a service
oc delete svc/<service-name>
For quick access, enter plugin name on the filter input box, located at right
top corner.
Scroll down the list of plugins to find the Blue Ocean Plugin.
Select the check box next to Emma Plugin.
Click Download now and install after restart
Select the Restart Jenkins when installation is complete and no jobs are
running.
You have done the installation
Note that quite often, the "Install without restart" option works too