Skip to main content

Posts

Showing posts from March, 2017

How to run a Jenkins in WSO2 Integration Cloud

This blog post guides you on how to run Jenkins in WSO2 Integration Cloud  and configure it to build an GitHub project. Currently the WSO2 Integration Cloud does not support Jenkins as a app type, but we can use Custom docker app type with Jenkins docker image. First we need to find out, proper Jenkins docker image, which we can use for this  or we have to build it from the scratch. If you go to https://hub.docker.com/_/jenkins/ you can find official Jenkins images in docker hub, but we can't use this images as it is due to several reasons. So I'm going to create a fork of https://github.com/jenkinsci/docker  and do some changes to the Dockerfile. I use the https://github.com/amalkasubasinghe/docker/tree/alpine branch here. A. You will see it has VOLUMN mount - at the moment WSO2 Integration Cloud does not allow you to upload an image which has VOLUMN mount. So we need to comment it out #VOLUME /var/jenkins_home B. My plan is to build Git hub project, so I ne