Difference between revisions of "Common Build Infrastructure/Managing Hudson"

From Eclipsepedia

Jump to: navigation, search
(Restarting Hudson)
Line 1: Line 1:
 
==Restarting Hudson ==
 
==Restarting Hudson ==
  
Here's the process required to restart Hudson. A restart is required if new / updated plugins have been installed or if a new version of Hudson is available.
+
Here's the process for authorized committers to restart Hudson. A restart is required if new / updated plugins have been installed or if a new version of Hudson is available.
 +
 
 +
If you're not authorized see https://bugs.eclipse.org/bugs/show_bug.cgi?id=257265#c34
  
 
* open Hudson in a browser, log in, then go here: https://build.eclipse.org/hudson/manage
 
* open Hudson in a browser, log in, then go here: https://build.eclipse.org/hudson/manage
Line 9: Line 11:
 
* ssh to build.eclipse.org
 
* ssh to build.eclipse.org
  
* sudo su - hudsonbuild (if not authorized, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=257265#c34)
+
$ sudo rchudson restart
 +
 
 +
If that fails and you need to manually kill and restart hudson
 +
 
 +
* sudo su - hudsonbuild  
  
 
* find the running process:
 
* find the running process:
Line 23: Line 29:
 
* start Hudson:
 
* start Hudson:
  
  $ /shared/common/ibm-java2-ppc-50/bin/java -jar /opt/users/hudsonbuild/hudson.war --configure=/opt/users/hudsonbuild/ &
+
  $ ~/startup &
  
 
* log out
 
* log out

Revision as of 11:12, 11 May 2009

Restarting Hudson

Here's the process for authorized committers to restart Hudson. A restart is required if new / updated plugins have been installed or if a new version of Hudson is available.

If you're not authorized see https://bugs.eclipse.org/bugs/show_bug.cgi?id=257265#c34

  • ssh to build.eclipse.org
$ sudo rchudson restart 

If that fails and you need to manually kill and restart hudson

  • sudo su - hudsonbuild
  • find the running process:
$ ps xu | grep hudson | egrep -v "su|grep"
55011      962 21.0  0.8 644064 128764 ?       Sl   18:32   2:21 /shared/common/ibm-java2-ppc-50/bin/java -jar /opt/users/hudsonbuild/hudson.war --configure=/opt/users/hudsonbuild/
  • kill that process
$ kill 962
  • start Hudson:
$ ~/startup &
  • log out