-
Bug
-
Resolution: Not A Defect
-
Minor
This does not work:
pipeline { environment { FOO = "bar" } parameters { string(name: 'BAZ', defaultValue: '', description: "Foo = $env.FOO") }
The description for the parameter is always "Foo = null" instead of "Foo = bar".
[JENKINS-45810] Jenkinsfile can't access environment variables in parameter descriptions
Component/s | New: pipeline-model-definition-plugin [ 21706 ] | |
Component/s | Original: pipeline [ 21692 ] |
Labels | New: declarative-variable-and-method-resolution |
Assignee | New: Andrew Bayer [ abayer ] |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |