This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. 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.
24759 Visualizzazioni