Install Hudson as a Windows service

Tuesday, May 4, 2010 by alexandrul

Permalink

Tested with Hudson 1.356 on:

  • Windows XP Professional
  • Windows Server 2008 SP2 x86
  • Windows Server 2008 R2

First, follow the Hudson wiki: Installing Hudson as a Windows service. The resulting service is named hudson, and is running under the Local system account.

Next, create a new local user named hudson-user (or any other name you like), which will be used in the next steps:

  • alter the hudson service properties to log on as hudson-user
  • grant Full control permissions for hudson-user on %HUDSON_HOME% folder

In order to be able to restart Hudson service from the web interface, SubInACL will be used to grant hudson-user the Start Service and Stop Service permission ACEs:

[Read More…]