Search code examples
jenkinsopenshiftopenshift-client-tools

Openshift Jenkins deployment location


I have a webservice hosted at openshift along with a Jenkins setup. I want a jenkins build to happen for each push. My question is;

do I push to myapp? or push to jenkins?

For instance I would like for the whole codebase to be on jenkins git, and then be able to deploy war files into the webapp.


Solution

  • You just push to your app's remote repo (while the Jenkins is enabled for that app). The Jenkins server does not store the code base, it will just create a temporary gear to copy the code over and to build the app. This is described in details here.