OpenShift Pipeline Plugin

Jenkins has a pluggable architecture, which allows for plugin development. OpenShift provides its own plugin, which allows for straightforward operations on OpenShift cluster objects in a declarative manner. The plugin provides a number of commands. We will introduce them one by one during the pipeline development.

In the beginning, we will write a build stage, which will assemble the image and ensure that the application works correctly.

The first command that we will use is the openShiftBuild command. It allows running one of the builds defined in the OpenShift cluster. This command takes one mandatory parameter, buildCfg, which is the name of the build that will be executed. 

The second command that we will use ...

Get Hands-On Cloud Development with WildFly now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.