Difference between revisions of "User:Wvengen@nikhef.nl/Hudson installation"

From PDP/Grid Wiki
Jump to navigationJump to search
 
m
Line 7: Line 7:
 
* Install the Java runtime from [http://www.java.com/ java.com]
 
* Install the Java runtime from [http://www.java.com/ java.com]
 
* Create a node in Hudson and create in the Windows node's Startup application folder a shortcut to <tt>javaws http://hudson/computer/win/slave-agent.jnlp</tt>.
 
* Create a node in Hudson and create in the Windows node's Startup application folder a shortcut to <tt>javaws http://hudson/computer/win/slave-agent.jnlp</tt>.
* ''(not required, but needed for our setup:)'' install [http://gnuwin32.sourceforge.net/packages/unzip.htm unzip] command-line utilities
 
  
 
I've ran Hudson on Windows XP professional 32-bit and 64-bit, and Windows server 2003.
 
I've ran Hudson on Windows XP professional 32-bit and 64-bit, and Windows server 2003.

Revision as of 17:32, 6 November 2009

I'm using the continuous integration server Hudson as part of the jGridstart development process. An important aspect is testing the software on multiple platforms. Installing Hudson is pretty straightforward in unix-like OSes. Windows needs some attention though, which is described here.

Installation of a Hudson Windows slave

  • Install the Windows OS
  • Create an ordinary user (e.g. hudson), and setup auto-login (KB324737).
  • Install UnxUtils (see also here), and copy sh.exe to C:\bin (or whichever drive you use for Hudson); make sure it can be found in the PATH.
  • Install the Java runtime from java.com
  • Create a node in Hudson and create in the Windows node's Startup application folder a shortcut to javaws http://hudson/computer/win/slave-agent.jnlp.

I've ran Hudson on Windows XP professional 32-bit and 64-bit, and Windows server 2003.