-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
We've documentation about injection via interpolation (https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#injection-via-interpolation) but we could also add warnings to prevent uninformed users from continuing this wrong behavior.
Something similar to the warnings added for interpolation of sensitive environment variables.
Added in https://github.com/jenkinsci/workflow-cps-plugin/pull/370.