#!/bin/sh
cd /usr/share/jetty/webapps
/etc/init.d/jetty stop
wget -N http://mirrors.jenkins-ci.org/war/latest/jenkins.war
chown jetty:adm jenkins.war
/etc/init.d/jetty start
Done!
I set the cron job to update at 15:00 server time, daily. Down time will depend on whether or not there is an update, i.e., 18 seconds vs 18 minutes.
Is it upgrading Jenkins automatically to the latest build? interesting. I got a text that QA.piwik.org was down at 9PM UTC which might be why?
Yes, updating automatically to the latest build.
I don't think it had anything to do with the text you received though.