wiki:Hudson/FAQ

Version 3 (modified by jdsiiro, 10 years ago) (diff)

--

Hudson FAQ

How do I restart Hudson nodes that have hung?

  1. Log-in the node as either the hudson user, or as a user that has sudo privileges.
  2. Kill the Hudson java process
  3. On the host status page in Hudson, click the button in the upper-right corner that says "this node is back online". Pushing that should cause Hudson to start using the node again. If that fails, you can always click the "Disconnect" link to cause Hudson to kill the slave process, then there should be a "Reconnect" button that appears below the node name/description.

How do I start a Hudson job?

  • If you have log-in privileges on Hudson, then on the main page shows an icon next to each job summary. This icon shows a clock with a green triangle. Clicking on this icon will launch the corresponding Hudson job.

How do I configure a Windows Slave?

  • For starters, refer to the  Hudson Wiki.
    • This installs the Hudson slave as a Windows service that runs as the Local SYSTEM user. While normally not a problem, this can really cause problems if you need to do anything custom with your Subversion configuration (e.g. accepting self-signed or invalid SSL certificates). To fix this, continue with the following steps.
  • Create a local hudson user by going to Start -> Settings -> Control Panel -> Administrative Tools -> Computer Management -> Local Users and Groups
  • Edit the permissions for the Hudson slave workspace (e.g. C:\Hudson) and grant Full Control to the hudson user. Be sure to click the Advanced button and select the check box to "Replace permission entries on all child objects with entries that apply to child objects."
  • Edit the properties for the Hudson Slave service (in Start -> Settings -> Control Panel -> Administrative Tools -> Services). On the "Log On" tab, switch the "Log on as:" from the Local System account to the Hudson account.
  • Working with Subversion
    • Hudson uses SVNKit as it's embedded Subversion client. The Subversion configuration is stored in %HOMEPATH%\Application Data\Subversion. For most computers, this will be C:\Documents and Settings\hudson\Application Data\Subversion.
    • If you have a repository that needs authentication or has a broken SSL certificate (i.e. expired or self-signed), check out the repository on another machine where you can log in with a working subversion client. Then, copy the relevant files (i.e. from ~/.subversion/auth/svn.simple/ or ~/.subversion/auth/svn.ssl.server/) into the corresponding location in the hudson user's configuration.