JBoss Community

Embed cartriges into an OpenShift Express applications using JBoss Tools

modified by Andre Dietisheim in JBoss Tools - View the full document

Start the wizard and log into OpenShif Express

 

Open up the OpenShift application wizard:

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17377/450-357/new-openshift-wizard.png

 

Now provide your OpenShift credentials. You need a valid account on OpenShift. If you have no account so far, please sign up here or use the link in the wizard.

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17376/450-429/provide-credentials.png

 

Create a new application

 

Now make sure you have a domain/create a domain and an application to embed cartridges to.

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17378/450-433/create-application.png

 

In the first wizard page you'd choose the name and the cartridge of the new OpenShift application.

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17379/450-342/create-application-name.png

 

You may now either finish the wizard (and embed cartridges later on) or embed cartridges to your application. The 2nd wizard page would allow you to do so.

 

Embed cartridges when creating the application

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17380/450-339/create-application-embed.png

 

You may now embed cartridges to your application. A Jenkins-client may only be embedded if you have a jenkins application ready. If you have none so far, the wizard will prompt you to provide a name for it.

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17381/450-344/create-jenkins.png

 

If the jenkins app was created successfully, you'll get the url and credentials pop up in a dialog. Please copy these settings to some paper/notepad since you wont get these again.

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17388/450-155/create-jenkins-log.png

 

If your jenkins was created successfully, you're ready to embed the jenkins-client to your application. You may do so by finishing the wizard.

A dialog will inform you of supplementary settings for the embedded jenkins-cartridge (or any additionnal cartridge):

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17389/450-128/embed-jenkins-log.png

 

 

You should now have your app and the new jenkins-app in your list of available applications:

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17384/450-432/applications-afterwards-jenkins.png

 

The application details, which are available by clicking "Details" now also show what cartridges were embedded to your as7 application:

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17385/450-216/application-details.png

 

Embed cartridges to existing applications

 

You may of course also embed cartridges to existing apps. You can achieve that by selecting your app in the list of available applications and clicking on "Embed" :

 

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17387/450-432/embed-to-existing.png

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17386/450-323/embed-jenkins.png

Comment by going to Community

Create a new document in JBoss Tools at Community