jenkinsci / jenkinsci/workflow-cps-plugin
[JENKINS-71091] Add warnings for String interpolation
- Dominant language
- Java
- Stars
- 186
- Forks
- 213
- Avg merge
- 12h 12m
- Merged PRs (30d)
- 8
Description
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.
---
Originally reported by
kevingrdj, imported from: Add warnings for String interpolation
Raw content of original issue
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.
Contributor guide
Assessment
This issue has not been assessed yet.