Capturelogchange

Upgrade support in Jenkins.

https://albino.pistoncloud.com/job/Upgrade_Tests/325/console

Disregard everything after:
# Done.
exit

script-wise as it's not run and will be removed once changes are merged to master.