0

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.

C_B
  • 2,620
  • 3
  • 23
  • 45

1 Answers1

2

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.

Jiri Fiala
  • 1,400
  • 7
  • 10
  • Thanks for the insight, this is indeed the case. It doesn't deploy successful builds (war) to the openshift tomcat7 server though which is a pity. – C_B Feb 02 '16 at 10:37