Last modified 4 years ago
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
- copy hudson.xml (attached) into /var/svc/manifes/local
- adjust it for your needs ( user, path, ... )
- import svc config
/usr/sbin/svccfg import /var/svc/manifest/local/hudson.xml
- start it
/usr/sbin/svcadm enable hudson
- to temporary stop it
/usr/sbin/svcadm disable -ts hudson
- 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
-
hudson.xml
(2.7 KB) -
added by tigran 4 years ago.
svc config file
