Plugin Information
This plugin deploy artifacts built on a CI server Hudson to a weblogic target (managed server, cluster ...) as an application or a library component. Thanks for the contribution of IHD team (a ByTel department). GeneralThe plugin supports the artifact deployment to the 9.X weblogic environments. All kinds of component such as library or application (ear, war, ejb-jar) are eligible to the deployment. Pre-requisitesThis plugin is only applicable for maven Job and works with 9.X weblogic version. The deployment to others weblogic versions has not been tested. Getting StartedBefore use it, The plugin has to be configured. It consists of loading the weblogic environments configuration and adding the weblogic library path (i.e /pathtojar/weblogic.jar) which will be used while deploying artifacts. ConfigurationSystem Configuration
<?xml version="1.0" encoding="UTF-8"?> <config xmlns="http://com.bouygtel.dy.hudson.plugin/WeblogicDeploymentPlugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://com.bouygtel.dy.hudson.plugin/WeblogicDeploymentPlugin plugin-configuration.xsd"> <weblogic-targets> <weblogic-target> <name>_name_</name> <host>_weblogic.admin.server.host_</host> <port>_weblogic.admin.server.port_</port> <login>_weblogic.admin.server.login_</login> <password>_weblogic.admin.server.password_</password> <ftpHost>_weblogic.remote.host_</ftpHost> <ftpUser>_weblogic.remote.user_</ftpUser> <ftpPassowrd>_weblogic.remote.passowrd_</ftpPassowrd> <remoteDir>/remate/file/to/path/used/to/deploy/libraries</remoteDir> </weblogic-target> </weblogic-targets> </config> NB : the ftpHost/ftpUser/ftpPassowrd/remoteDir are used to deploy libraries. Basically, weblogic.remote.host should be the same as weblogic.admin.server.host
Job ConfigurationIf no configuration has been set, the plugin will display an error message
Here is an example of a hudson job configuration
User GuideView deployment LogsTODO Release NotesVersion 1.0 (Jan 3, 2012)Initial release. RoadMapAdd timeout. |
