Jenkins
We are currently running Jenkins 1.511 on glastlnx18: http://srs.slac.stanford.edu/hudson
Upgrades
To upgrade the version of Jenkins:
- download the war file from http://jenkins-ci.org/
- stop the tomcat server on glastlnx18
- copy the hudson directory and the hudson.war file in the webapps directory somewhere else, as a backup
- move the war file you downloaded to webapps/hudson.war
- restart the tomcat server
Jenkins Home
The home directory where Hudson keeps its configuration files and build results is located at tomcat/BASE/HOST/home/.home on the HOST where it is running.
Jenkins Settings
For SRS the Hudson settings are located under /nfs/slac/g/srs/hudson
Worker Nodes
There are a few worker nodes that are running experiment specific builds. The slave.jar file must be kept synchronized with the version of the hudson war file when upgrades are performed. To do this it is necessary to shut down the worker node by loggin in on the machine on which the worker node is running and killing the java process.
To find which server a worker node is running on follow: Manage Hudson -> Manage Nodes -> NODE_NAME -> System Information There you can look for HOST.
How do we run the monitor script?
Worker Node |
Account |
Directory |
Host |
Comment |
---|---|---|---|---|
exo-build01 |
exodata |
/nfs/slac/g/exo/software/hudson/exo-build01 |
scalnx01 |
|
exo-build02 |
exodata |
~/hudson |
www.exo200.org |
|
exo-build-yakut14 |
exodata |
/nfs/slac/g/exo/software/hudson/ |
yakut14 |
This agent is started on-demand via ssh |
srs-build01 |
srs |
/nfs/slac/g/srs/hudson/srs-build01 |
scalnx01 |
cronjob ok |
lsst-build01 |
srs |
/nfs/slac/g/srs/hudson/lsst-build01 |
scalnx01 |
cronjob ok. Running java at 32 bits. |
freehep-build01 |
freehep |
/nfs/slac/g/jas/hudson/freehep-build01 |
scalnx01 |
|
lcsim-build01 |
lcdprod |
/nfs/slac/g/lcd/mc/prj/sw/hudson |
lcddata01 |
|
fermi-build01 |
glast |
/nfs/slac/g/glast/ground/software/hudson/ |
glastlnx20 |
|
cta-build01 |
ctadata |
/nfs/slac/g/agis/repo/hudson/rhel5-64/ |
scalnx01 |
|
fermi-bldmac01 |
glastrm |
/u/gl/glastrm/jenkins/bldmac01 |
bldmac01 |
This is now started using launchd from ~glastrm/Library/LaunchDaemons/monitor-jenkins.plist |
fermi-bldmac02 |
glastrm |
/u/gl/glastrm/jenkins/bldmac02 |
bldmac02 |
This is now started using launchd from ~glastrm/Library/LaunchDaemons/monitor-jenkins.plist |
glast-win04 |
glast |
d:\jenkins |
glast-win04 |
This has been configured to run as a windows service using the instructions here: |