Setup Jenkins on SAP Cloud Foundry

Image for post
Image for post

Introduction of Cloud Foundry on SAP Cloud Platform enables a lot of possibilities to deploy various applications on the cloud. Jenkins is one of the most asked and some people may struggle to find a place to run it.

In this blog, I’ll show how to deploy Jenkins on Cloud Foundry environment on SAP Cloud Platform.

Download Jenkins.war

Go to https://jenkins.io/download/ and download Generic Java Package (war) of the version you prefer.

Deploy Jenkins on Cloud Foundry

Login

Connect to Cloud Foundry using CLI. (See how to download here).

Deploy Jenkins

We’re going to deploy Jenkins.war using this special buildpack.

Here is what it looks like for me:

Login to Jenkins

Once the instance is up and running, go to the app’s URL as indicated above.

It will ask you to enter administrator password.

Image for post
Image for post

Find your password with this command:

Proceed the installation by installing suggested plugins.

Image for post
Image for post

In the last step, create an account and the Jenkins will be ready to use.

Image for post
Image for post

References

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store