I recently ran into something of a puzzler while working on some Jenkins builds with a coworker. He\'s been using params.VARIABLE
and env.VARIABLE
int
Basically this works as follows
Environment variables can be overridden or unset but params
is an immutable Map and cannot be changed. Best practice is to always use params
when you need to get a build parameter.