jenkinsci / jenkinsci/workflow-cps-plugin

[JENKINS-71091] Add warnings for String interpolation

Open
#1,663 0 comments 0 reactions 0 assignees View on GitHub
component:workflow-cps-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
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


  • status: Open
  • priority: Minor
  • component(s): workflow-cps-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-07

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.