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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access