Skip to content

Environment block ergonomics

Compare
Choose a tag to compare
@sagebind sagebind released this 31 Jul 16:35
· 31 commits to master since this release

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.