Wednesday, 31 May 2017

Jenkins on Openshift

After getting my github node js project onto OpenShift (mainly I'm using the web console at https://console.starter-us-east-1.openshift.com), I noticed if I pushed a new change, the new working build wouldn't replace the previous build. I'd have to delete the original deployments / pods and builds, and rebuild it manually.

Reading up on it, it seems like I need to set up a pipeline. The best way of doing this seems to be Jenkins.

Working through the following documentation: https://github.com/openshift/origin/blob/master/examples/jenkins/README.md I'm up to the point where Jenkins appears to be running (jenkins-2-lxgj1 pod running), and I've run "oc get route" and got the Jenkins url, but I just get the usual Application Not Running error. I presume I should be getting some kind of Jenkins settings here.

Are there any decent tutorials on getting this working using the web console, or does anyone know what I'm doing wrong?

Thanks



via Richard Whitehouse

No comments:

Post a Comment