Mini reproduction case
pipeline { agent none environment { FOO = "${BAR?.contains('banana') ? 'bar has banana' : 'no bar or no banana'}" } stages { stage('echo') { steps { echo "FOO is ${FOO}" } } } }
Merged, will be in the upcoming 1.3.5 release.
Bulk closing resolved issues.