Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Jenkins

We are currently have two separate versions of Hudson running for:

  • SRS on glastlnx18 under the srs account
  • Fermi on glastlnx04 under the glast account

The SRS version just got updated to the latest pre-2.0 version: 1.398 (see all versions here).

This particular version had to be patched due to a bug in running maven processes on remote nodes. We followed the instructions on how to upgrade the version of sisu-guice 3.0.1.

Goals

The main goal is to have only one Hudson server running. It will handle builds from different experiments delegating the execution to worker nodes.

To do this we need to:

  • Re-organize the EXO slaves; they are currently pretty messy.
    • These are Tony's notes:
      Code Block
      
      The Hudson slave code for EXO is in
      
      /nfs/slac/g/exo/software/hudson/
      
      It contains all the jar files, directories and scripts for exo-build03. 
      In it there is also a directory for exo-build01. 
      The idea was to create a directory for exo-build03, parallel to the exo-build01 one.
      
      The problem is that many EXO users rely on these directories being where they are.
      
      The main thing that would have to stay the same is the
       
      /nfs/slac/g/exo/software/hudson/builds
       
      directory, which is itself already a symlink to builds-rhel5 (the rhel4 stuff is obsolete and can be deleted).
       
      However inside the hudson task itself there may be other assumptions about file location, 
      built into the script which runs the job.
      
    • For these reasons we decided to leave this as it is for the moment.
  • Find a server to run the LSST builds
  • Import in SRS the Fermi builds.

Distribution

The Hudson war file is located at: /u/ey/freehep/hudson/. There is a directory for each version, containing hudson.war. There is also a current symlink that is used to load the most recent version in the server.xml on the server in which hudson is running.

...

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

...