Book Image

OpenShift Cookbook

By : Shekhar Gulati
Book Image

OpenShift Cookbook

By: Shekhar Gulati

Overview of this book

Table of Contents (19 chapters)
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Running OpenShift on a Virtual Machine
Index

Introduction


In this chapter, you will learn how to add Continuous Integration (CI) support to your OpenShift applications. CI is an Extreme Programming (XP) practice in which a tool monitors your version control system, such as Git or SVN, for code changes. Whenever it detects a change, it builds the project and runs its test cases. If the build fails for some reason, the tool will notify the development team about the failure via e-mail or other communication channels so that they can fix the build failure immediately. CI tools can do much more beyond building and testing the application. They can also keep track of the code quality over a period of time, run functional tests, perform automatic deployment, apply database migrations, and perform a lot of other tasks. This helps us to discover defects early in the software development cycle, improves code quality, and automates deployment.

OpenShift supports Jenkins as its CI tool of choice. Jenkins (http://jenkins-ci.org/) is the most dominant...