
Hudson Continuous Integration for Liferay
Instructions for setup of Hudson CI tools for Liferay #
- Create a directory for Hudson.
- example: Unix /var/hudson Windows C:\Hudson
- Download the attachment: job-config.zip and unzip in above directory
- Set Environment variable: HUDSON_HOME to Hudson working directory above
- On Unix: export HUDSON_HOME=/var/hudson
- On Windows: Set Environment variable for HUDSON_HOME to C:\Hudson
- Download and install ANT, SVN Client, JDK 1.5
- Ensure JDK, SVN, ANT are available on system.
- On Unix: which svn java ant
- On Windows: At command prompt attempt to execute ant, svn, java
- Download http://hudson.gotdns.com/latest/hudson.war
- java -jar hudson.war --httpPort=9090 --ajp13Port=9009
- The tomcat running the built liferay bits will be on port 8080
- Running Hudson on 9090 will help if you plan to run the automated test suite.
- This will make sure the Tomcat running Hudson will not crash if the tests leak resources.
- Click on http://localhost:9090/hudson to view/manage the build Jobs.
- There will be two jobs: Portal ; Plugins
- Access http://localhost:8080/hudson/configure
- Setup the SMTP Mailserver settings
- Other properties on this page might need changes depending on your system.
24628 Views