Hudson Continuous Integration for Liferay

Instructions for setup of Hudson CI tools for Liferay #

  1. Create a directory for Hudson.
    1. example: Unix /var/hudson Windows C:\Hudson
  2. Download the attachment: job-config.zip and unzip in above directory
  3. Set Environment variable: HUDSON_HOME to Hudson working directory above
    1. On Unix: export HUDSON_HOME=/var/hudson
    2. On Windows: Set Environment variable for HUDSON_HOME to C:\Hudson
  4. Download and install ANT, SVN Client, JDK 1.5
  5. Ensure JDK, SVN, ANT are available on system.
    1. On Unix: which svn java ant
    2. On Windows: At command prompt attempt to execute ant, svn, java
  6. Download http://hudson.gotdns.com/latest/hudson.war
  7. java -jar hudson.war --httpPort=9090 --ajp13Port=9009
    1. The tomcat running the built liferay bits will be on port 8080
    2. Running Hudson on 9090 will help if you plan to run the automated test suite.
    3. This will make sure the Tomcat running Hudson will not crash if the tests leak resources.
  8. Click on http://localhost:9090/hudson to view/manage the build Jobs.
    1. There will be two jobs: Portal ; Plugins
  9. Access http://localhost:8080/hudson/configure
    1. Setup the SMTP Mailserver settings
    2. Other properties on this page might need changes depending on your system.
2 添付ファイル
24630 参照数
平均 (2 投票)
平均評価は1.5星中の5です。
コメント
コメント 作成者 日時
Hi this appears to be an update from the... Luke McLean 2008/07/24 23:13
I managed to hunt down LEP-6633 that linked to... Luke McLean 2008/07/24 23:57
This guide is mostly about installing Hudson,... Chris Jurado 2013/09/17 6:32

Hi this appears to be an update from the initial version I have read as the first one had Hudson being deployed on Tomcat. I have managed to follow these instructions down to section 8, where it appears to be accessed on http://localhost:9090/ rather than http:localhost:9090/hudson/. The next line has this novice lost however as it states that there will be two jobs "Portal" and "Plugins". I don't have any jobs showing? So I wonder, does this mean that two jobs need to be set up (instructions?), or is there something missing (my corporate dev env does not have internet access)? Thanks.
投稿日時:08/07/24 23:13
I managed to hunt down LEP-6633 that linked to the config.xml files before they were removed from source. I have downloaded them and attached to this page as hudson.zip. I have not added them to my dev env and tested yet as I am no longer at work but that would appear to explain why the 'Portal' and 'Plugins' job are missing at section 8 of the instructions.
Luke McLeanへのコメント。投稿日時:08/07/24 23:57
This guide is mostly about installing Hudson, which is already covered in the Hudson documentation. What would be more useful is details on the specific configurations and issues regarding Liferay plugin -projects.
投稿日時:13/09/17 6:32