I searched for openshift plugins and found the ones listed below. Generally speaking, these plugins allow you to do the same than the Openshift API and they’re not very popular (based on the number of downloads), also they lack of documentation (except the Deployer plugin).

a) OpenShift Login Plugin: 0 downloads
b) OpenShift Sync Plugin: 160+ downloads
c) OpenShift Pipeline Plugin: 250+ downloads
d) Openshift Deployer plugin: 120+ downloads
I installed the first (a and b) two but didn’t see any additional build steps or something additional in the post build steps.
c) The Pipeline plug-in added the following build steps (shown in the slideshow below in the same order): and the Build Trigger option “OpenShift Jenkins Pipeline Builder”
  1. Create Resource
  2. Delete Resource (there are multiple options here, you can delete by key, by YAML/JSON file or by specifying a Label)
  3. Exec (to open a shell connection to a pod)
  4. Tag image
  5. Cancel Build
  6. Trigger Build
  7. Trigger Deployment
  8. Verify Build
  9. Verify Deployment
  10. Verify Service
  11. Scale Deployment (also available as a post build step)

    El pase de diapositivas requiere JavaScript.

d) The Deployer plug-in on the other hand, added the Deploy and Delete openshift application build steps.


In terms of scripting, if you’re not familiar with the syntax for openshift pipelines you can simply click in Pipeline Syntax to generate the Pipeline script aided by the UI as seen in the following image.

14-snippet-generatorsDifferent pipelines have different options, the only ones being common are: cluster API URL, Authorization token and the project name. For example, the following screenshot displays the options that were required to tag my sample app image.


OpenShift 3.3

On a side note, Openshift 3.3 was recently released (Sept 2016) and Pipelines were integrated into Openshift. This means that ‘the same OpenShift build steps are available in the classic “freestyle” jobs as Jenkins Pipeline DSL methods’. Another scenario for Openshift is to use it in conjunction with the Kubernetes Jenkins plugin to dynamically provision slave instances as demonstrated here. I tried to install this plug-in but didn’t come-up in the list of Available plug-ins.


Javier Andrés Cáceres Alvis

Microsoft Most Valuable Professional – MVP

Intel Black Belt Software Developer