Environment block ergonomics
Changed
- Invoking an
environment {}
block will now use owner first resolve strategy, meaning that Groovy will assume first that you are referring to a local variable if not specified, and assume you are referring to an environment variable only if a local variable with that name does not exist.