"groovy.lang.MissingPropertyException: No such property: test2 for class: groovy.lang.Binding"
This also errors the same way: {code} pipeline { agent any environment { test = "${test2 + test3}" test2 = "value2" test3 = "${test2}" } stages { stage('Install') { steps { sh 'echo "${test}"' } } } } {code}
I'd expect the second example to error, due to out-of-order assignment. If this too can be fixed, that'd be fine, too. But the simple sequential evaluation of show in the first example should always work.