-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 2.46.2
Pipeline 2.5
Pipeline Graph Analysis Plugin 1.3
Pipeline: Groovy 2.32
Create simple pipeline:
// Add fancy build parameter. properties([ parameters([ string( defaultValue: "asd", description: 'Some description', name: 'foo' ), ]) ]) print foo if (foo == "true") { print "true" } else { print "false" }
call pipeline/job with foo=true
Result:
[Pipeline] echo
asd
[Pipeline] echo
false
[Pipeline] End of Pipeline
Finished: SUCCESS
parametrized build passed variables is not being propagated to the pipeline.
I might be doing something wrong but this works on simple job.