On 05.04.2016, at 16:54, Stuart Warren <stuartwarre...@gmail.com> wrote:

> Today is the first time I've tried groovy though, so probably doing something 
> silly.
> Are there any obvious improvements to the above?

You could alternatively just go with patching the JENKINS_HOME so Jenkins 
considers it not an update:

$ echo -n 2.0 > $JENKINS_HOME/upgraded
$ echo -n 2.0 > $JENKINS_HOME/.last_exec_version

The files are being renamed in https://github.com/jenkinsci/jenkins/pull/2215, 
but for beta 2, the above appears to work.

But please note that this is considered internal storage so may not work this 
way forever. I think we'll pretty quickly introduce a supported alternative way 
though.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2726228E-62A6-4BB5-B5AC-86C2B1F85EE3%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to