Upgrading Jenkins

From GeeklogWiki
Revision as of 10:39, 7 February 2011 by Dirk (talk | contribs) (Hudson -> Jenkins; to do: replace screenshot (waiting for the next update ...))

Jump to: navigation, search

Geeklog's unit test suite is run automatically after commits to the main Geeklog repository. This functionality is powered by Jenkins. Here's a quick description of the procedure to update Jenkins:


Upgrading Jenkins

  1. log into Jenkins
  2. click on the Manage Jenkins link (proper permissions required)
  3. see if it offers any updates HudsonUpdate.png
  4. if it does, click on the "Upgrade Automatically" button
  5. wait for the download to finish

Next, Jenkins has to be restarted manually to actually use the upgrade you just downloaded:

  1. log into the server, using the project management account (not your user account)
  2. do a ps ax | grep java to get the pid of the currently running Jenkins process
  3. kill it (may take a few seconds to shut down)
  4. go to the home directory and call up ./jenkins.start to re-start Jenkins
  5. don't panic, as it takes a few seconds for Jenkins to come back up


Upgrading Plugins

Upgrading Jenkins plugin works pretty much the same way. The only difference is that you go to

Manage Jenkins > Manage Plugins

to check for available updates.