Jenkinsfile: Add missing def keywords where appropriate
In light of e21ecdb6 fixing an issue caused by a missing def
that makes a
variable to be global and thus unwillingly overridden, do a sanity check on the
whole file and add some missing def
.
Even if their lack currenly seem harmless, it may prevent issues when moving things around.