Tidy up jenkins.sh

Removed some redundant ENV variables.
Set it to abort on error, avoids the need to explicitly exit with $?