<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Embed cartriges into an OpenShift Express applications using JBoss Tools
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="http://community.jboss.org/people/adietish">Andre Dietisheim</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/docs/DOC-17375">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><h1>Start the wizard and log into OpenShif Express</h1><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Open up the OpenShift application wizard:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17377/new-openshift-wizard.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17377/450-357/new-openshift-wizard.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Now provide your OpenShift credentials. You need a valid account on OpenShift. If you have no account so far, please sign up <a class="jive-link-external-small" href="https://openshift.redhat.com/app/user/new/express">here</a> or use the link in the wizard.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17376/provide-credentials.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17376/450-429/provide-credentials.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h1>Create a new application </h1><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Now make sure you have a domain/create a domain and an application to embed cartridges to. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17378/create-application.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17378/450-433/create-application.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>In the first wizard page you'd choose the name and the cartridge of the new OpenShift application.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17379/create-application-name.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17379/450-342/create-application-name.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h1>Embed cartridges when creating the application</h1><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17380/create-application-embed.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17380/450-339/create-application-embed.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17381/create-jenkins.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17381/450-344/create-jenkins.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17388/create-jenkins-log.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17388/450-155/create-jenkins-log.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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.</p><p>A dialog will inform you of supplementary settings for the embedded jenkins-cartridge (or any additionnal cartridge):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17389/embed-jenkins-log.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17389/450-128/embed-jenkins-log.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>You should now have your app and the new jenkins-app in your list of available applications:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17384/applications-afterwards-jenkins.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17384/450-432/applications-afterwards-jenkins.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The application details, which are available by clicking "<strong>Details</strong>" now also show what cartridges were embedded to your as7 application:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17385/application-details.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17385/450-216/application-details.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h1>Embed cartridges to existing applications</h1><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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 "<strong>Embed</strong>" :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17387/embed-to-existing.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17387/450-432/embed-to-existing.png </span></a></p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-17375-3-17386/embed-jenkins.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-17375-3-17386/450-323/embed-jenkins.png </span></a></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="http://community.jboss.org/docs/DOC-17375">going to Community</a></p>

        <p style="margin: 0;">Create a new document in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>