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.

both of the flavor markers should be the same: https://github.com/piston/teacup/blob/master/run-functional-tests.sh#L186 (awk doesn't require an exhaustive match).

I think all you actually need here is 
```
if [ "$UPGRADE" ]; ...
    AWK_VERSION_MATCH="${SOURCE_VERSION_ESCAPED}"
else...
    AWK_VERSION_MATCH="${RELEASE_VERSION_ESCAPED}"
fi
```
and then just use the big awk line in the pipeline (duplicating the entire line just for that one change is a bit fragile)