O'Reilly logo

OpenShift Cookbook by Shekhar Gulati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Jenkins workflow for your OpenShift applications

In this recipe, you will create a Jenkins workflow that you could use to build and deploy applications on OpenShift.

Getting ready

This recipe will cover all the steps from the start to make sure you have all the three gears available.

How to do it…

Perform the following steps to create a Jenkins workflow for your OpenShift applications:

  1. Create a new Jenkins server application by running the following command. This was covered in detail in the Adding Jenkins CI to your application recipe.
    $ rhc create-app jenkins jenkins
    
  2. Create an OpenShift Apache Tomcat 7 application that will be used to deploy the project. The project will be created with the --no-git option, as we do not want to clone the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required