Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3270

Provide the IBM ibm-web-bnd.xmi file in WEB-INF to ease automated deployment on WebSphere

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: All, OS: All

      Description

      Deploying Hudson on WAS could be made easier and faster and could allow to reuse
      the scripts provided with WAS (I have in mind the script library provided with
      WAS 7.0 in <WAS_INSTALL_DIR>/scriptLibraries) with no modification, by simply
      adding the ibm-web-bnd.xmi file in WEB-INF/ (main/war/resources/WEB-INF).

      Here is the whole content of the file:

      <?xml version="1.0" encoding="UTF-8"?>
      <!--
      The MIT License

      Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi

      Permission is hereby granted, free of charge, to any person obtaining a copy
      of this software and associated documentation files (the "Software"), to deal
      in the Software without restriction, including without limitation the rights
      to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
      copies of the Software, and to permit persons to whom the Software is
      furnished to do so, subject to the following conditions:

      The above copyright notice and this permission notice shall be included in
      all copies or substantial portions of the Software.

      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
      IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
      FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
      AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
      LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
      OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
      THE SOFTWARE.
      -->

      <!--
      This file simply sets the virtual host on which to deploy the Web app to be
      able to use WebSphere's provided deployment script as-is.
      E.g., on WAS 7.0 and using jython:
      AdminApplication.installWarFile('hudson','/blabla/hudson.war','localhostNode01','server1','hudson')
      -->
      <webappbnd:WebAppBinding
      xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
      xmlns:webappbnd="webappbnd.xmi"
      virtualHostName="default_host">
      </webappbnd:WebAppBinding>

        Activity

        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in hudson
        User: : kohsuke
        Path:
        trunk/hudson/main/war/resources/WEB-INF/ibm-web-bnd.xmi
        http://fisheye4.cenqua.com/changelog/hudson/?cs=19567
        Log:
        JENKINS-3270 forgot to commit.

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/war/resources/WEB-INF/ibm-web-bnd.xmi http://fisheye4.cenqua.com/changelog/hudson/?cs=19567 Log: JENKINS-3270 forgot to commit.
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in hudson
        User: : kohsuke
        Path:
        trunk/www/changelog.html
        http://fisheye4.cenqua.com/changelog/hudson/?cs=19560
        Log:
        [FIXED JENKINS-3270] Addd in 1.316.
        I don't really understand what this file does, so hopefully other WebSphere users could chim in if this causes a problem.

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=19560 Log: [FIXED JENKINS-3270] Addd in 1.316. I don't really understand what this file does, so hopefully other WebSphere users could chim in if this causes a problem.

          People

          • Assignee:
            kohsuke Kohsuke Kawaguchi
            Reporter:
            rseguy Romain Seguy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: