wiki:,anuals/Husdon
Last modified 10 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/ http://svn.dcache.org:8080/build/
    ProxyPassReverse /build/ http://svn.dcache.org:8080/build
    ProxyPassReverse /build http://svn.dcache.org:8080/build
    ProxyPass /build http://svn.dcache.org:8080/build
    ProxyHTMLURLMap  http://svn.dcache.org:8080/build          /build
    ProxyHTMLURLMap  http://svn.dcache.org:8080/build/          /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 http://pauloswald.com/article/29/hudson-solaris-smf-manifest )

Attachments