OpenShift CI/CD Operations - Collocated Persistent Jenkins Set Up: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= =Overview= This is the procedure to install a CI/CD pipeline based on Jenkins. The CI/CD pipeline will execute in the project that need CI/CD services: the Jenkin...")
 
Line 9: Line 9:
   oc get templates -n openshift | grep jenkins
   oc get templates -n openshift | grep jenkins


  NAME                                           DESCRIPTION                                                                       PARAMETERS        OBJECTS
  NAME                     DESCRIPTION                                             PARAMETERS        OBJECTS
  jenkins-persistent                             Jenkins service, with persistent storage....                                       8 (all set)       7
...
  jenkins-persistent   Jenkins service, with persistent storage....   8 (all set)     7

Revision as of 01:54, 22 November 2017

Internal

Overview

This is the procedure to install a CI/CD pipeline based on Jenkins. The CI/CD pipeline will execute in the project that need CI/CD services: the Jenkins pod will be created in the same project it triggers builds and deployments for.

The pipeline is created based on the OpenShift "jenkins-persistent" template, available in the "openshift" project:

 oc get templates -n openshift | grep jenkins
NAME                      DESCRIPTION                                             PARAMETERS        OBJECTS
...
jenkins-persistent    Jenkins service, with persistent storage....   8 (all set)      7