Last modified 12 years ago Last modified on 11/11/08 08:58:31

Husdon setup @ dCache ORG

we run hudson as stand alone application, e.g. using build in web container:

java -jar hudson.war -prefix=/build

where --prefix option tells the embedded Winstone server to make your application available at http://localhost:8080/build/.

On front of hudson runs Apache2 server with mod_proxy rules:

    # hudson
    ProxyRequests off
    ProxyPass        /build/
    ProxyPassReverse /build/
    ProxyPassReverse /build
    ProxyPass /build
    ProxyHTMLURLMap          /build
    ProxyHTMLURLMap          /build/

Hudson runs as SVC service on Sun Fire V240 as a non privileged used. The home directory is /data/hudson-build.

SVC setup

  1. copy hudson.xml (attached) into /var/svc/manifes/local
  2. adjust it for your needs ( user, path, ... )
  3. import svc config
    /usr/sbin/svccfg import /var/svc/manifest/local/hudson.xml
  4. start it
    /usr/sbin/svcadm enable hudson
  5. to temporary stop it
    /usr/sbin/svcadm disable -ts hudson
  6. to disable it
    /usr/sbin/svcadm disable hudson

The log file located at: /var/svc/log/application-hudson:default.log

( source )