Table of contentsRequirements
See also the Known Issues section. Installation procedureThere are two ways to install Hudson on WAS: Admin console installation
The installation instructions are simple as for each WAR Module.
After finishing the wizard go to the installed application (hudson_war for example) and perform the following steps to change the classloader mode:
Installing through wsadmin
A jacl script called hudson.jacl and configuration file config.properties are provided to install and configure hudson on WAS 6.1 ND. Before running hudson.jacl make the necessary changes in the config.properties file - adjust the server envoronment, the context root, the virtual host mapping and optional the hudson home directory. After that run following command from the deployment manager bin directory: wsadmin(.sh) \-f <path_to_hudson.jacl>/hudson.jacl <path_to_config.properties>/config.properties <command> <path_to_hudson.war>/hudson.war where the <command> is:
The paths must be provided in UNIX style even on Windows - d:/test/hudson/hudson.war instead of d:\test\hudson\hudson.war After successfully installation the server must be restarted manually - the script doesn't provide this functionality at the moment, but the stopServer and startServer commands can be used for this purpose. If security is enabled on the server either provide -user and -password arguments to the command or adjust the soap.client.props file with the login information in order to be able to connect to the server's admin interface. The script is not tested with the base server edition, but should work on it - the only change is to disable the node synchronization in the saveConfigAndSync procedure - the line to comment can be found in hudson.jacl - search for BASE or for saveConfigAndSync. CVS SSH authenticationFor CVS ssh authentification following environment entry is required in the application server: CVS_RSH=ssh. This can be set in the admin console in: Application Servers / <server> / Java and Process Management / Process Definition / Environment Entries UpgradingChanging the WAR file to reference the newest dom4j library (see hudson: issue 1680):
tar -cvf hudsonXX.tar <hudson_home_dir> * Redeploy hudson with the provided scripts as follows: Edit config.properties to the environment and run (see Installing through wsadmin above for further information): wsadmin.sh -f hudson.jacl config.properties redeploy hudson.war The above command assumes that wsadmin.sh is in PATH and hudson.jacl, config.properties and hudson.war are in the current dir.
Setting up WAS for the update center to workAs of version 1.23x? hudson provides update center. In order to be able to use it with the WebSphere's JDK a trusted certificate must be imported in the server's keystore. To acomplish this following steps are necessary:
Importing the certificate using the keytool command (command-line mode)keytool -import -trustcacerts -file rapidssl_01.cer -keystore <server_trust.p12> -storepass WebAS -storetype PKCS12 -alias rapidssl
where as:
Issuing the command brings a message that the certificate is found in the system wide keystore - confirm with yes that it should be updated. Eg: $ cd /tmp $ wget http://www.rapidssl.com/cps/rapidssl_01.cer <snip> $ /was61/WebSphere/AppServer/java/jre/bin/keytool -import -trustcacerts -file rapidssl_01.cer -keystore /was61/WebSphere/AppServer/profiles/AppSrv01/config/cells/localhostCell01/nodes/localhostNode01/trust.p12 -storepass WebAS -storetype PKCS12 -alias rapidssl Certificate already exists in system-wide CA keystore under alias <equifaxsecureca> Do you still want to add it to your own keystore? [no]: yes Certificate was added to keystore $ Importing the certificate using IBM Key Management (GUI mode)
Known IssuesFollowing table tries to summarize the known issues. If there is a fix from IBM its PK Id will be referenced.
JIRA PluginI'm experiencing VerifyError on WAS 7.0 trying to use the provided JIRA plugin due to dependencies on the Stax API included in the stax-api-1.0.1.jar. I've simply removed the jar file from hudson's lib directory and it works ok for me. For further details see this thread. |