This does not work:
FOO = "bar"
string(name: 'BAZ', defaultValue: '', description: "Foo = $env.FOO")
The description for the parameter is always "Foo = null" instead of "Foo = bar".
Actually I think this may be a duplicate of JENKINS-28566, but I'm not sure
Yeah, this is expected behavior - the parameters are defined before the environment variables are defined.
Bulk closing resolved issues.