[jboss-user] [JBoss Tools] - Deploy from Eclipse to OpenShift in a breeze

Xavier Coulon do-not-reply at jboss.com
Thu Nov 29 02:53:02 EST 2012

Xavier Coulon [https://community.jboss.org/people/xcoulon] commented on

"Deploy from Eclipse to OpenShift in a breeze"

To view all comments on this blog post, visit: https://community.jboss.org/community/tools/blog/2012/06/27/deploy-from-eclipse-to-openshift-in-a-breeze#comment-11190


You have two options: 
* you can publish the code changes and OpenShift will trigger a maven build on the application gear (or on jenkins if you added the jenkins client cartridge on your OpenShift application). 
* or, you can put binary files (eg: a war file) in the "./deployments" folder (at the root of your Eclipse project) and they will also be deployed. 

You may also want to skip the maven build process on openshift by removing the /src folder in the project, or edit the pom.xml file to skip the build with the openshift profile only. Then, you'd make your local build, get the output war file in the deployment folder and publish with the server adapter (in the Servers view). 

Also, did you try to build your application on jenkins on openshift ? you just need to configure the jenkins client on your application (using the wizard in the OpenShift Explorer view in JBT). You may have enough resource on a jenkins client. Besides that, you'll have less downtime on your application server and in case of build failure, your previous version of your application will still be running. Jenkins should only deploy the new application if build was successful. 


Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121129/884f1531/attachment.html 

More information about the jboss-user mailing list