Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
rahulkumarsap
Participant
Deploying any java application on any cloud platform should be easy and Jenkins should be one of them, however we find not any credible source actually explains minute details and pitfalls we face once we start deploying jenkins on a PaaS.

SAP Cloud Platform is the leading cloud platform for enterprise cloud application and we want to just leverage its capability to host jenkins.

Jenkins as you know is "The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project" - Source:Jenkins.io.

 

Lets go step by step :

  1. Download jenkins.war file from https://jenkins.io/download/

  2. Create a trial account in SAP Cloud Platform if you don't have one. Note: jenkins war file is larger than 20 MB and hence wont be supported in cloud foundry stack.


3. Create space and subaccount in neo trial where you can

4. go to SAP cloud platform cockpit of neo trial and select "Java Applications" under "Applications" from where you can deploy any java application.

5. click and upload your downloaded jenkins.war file and maintain configuration like the one below and deploy.



Note: the JVM arguments "-Djenkins.install.runSetupWizard=false" is required as SuperAdmin credentials is required for the first setup of jenkins. If we deploy Jenkins on PaaS, there is no way to find the dynamically generated key(credentials)

6. Once the deployment is done , start and you should be able to access jenkins on SAP Cloud Platform via specified URL.

 

Tried and Tested 🙂

 

Thanks

Rahul Kumar

 
3 Comments