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

Upgrading Jenkins to the latest version


The Jenkins application created by OpenShift runs an old version of Jenkins. At the time of this writing, the Jenkins application created by OpenShift runs the 1.509.1 Version. This version is quite old, and some Jenkins plugins do not work with this version. In this recipe, you will learn how to upgrade Jenkins to the latest version. The latest version of Jenkins at the time of this writing is 1.567.

Note

This recipe is experimental, and I don't recommend that people use it for their production Jenkins instances. The aim of this recipe is to show that it is feasible to upgrade the Jenkins version. This might result in build data loss or a break in the Jenkins instance. So, use this recipe in your test environments first.

Getting ready

This recipe assumes you already have a Jenkins-enabled application, as discussed in the Adding Jenkins CI to your application recipe.

How to do it…

Perform the following steps to upgrade the Jenkins version:

  1. Open a new command...