Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: credentials-binding-plugin
-
Labels:
-
Similar Issues:
Description
Unclear if it's in workflow or in credentials-binding plugin.
During an engagement, I found that the following ugly but seemingly valid workflow script doesn't let me acess the value of the secret:
def credential(name) { def v; withCredentials([[$class: 'StringBinding', credentialsId: name, variable: 'foo']]) { v = env.foo; } return v } node { echo credential("idOfSecretText") }
Attachments
Issue Links
- is related to
-
JENKINS-26552 @StepContextParameter EnvVars missing Computer.environment
-
- Resolved
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is related to |
Assignee | Jesse Glick [ jglick ] | Kohsuke Kawaguchi [ kohsuke ] |
Component/s | credentials-binding-plugin [ 18129 ] | |
Component/s | workflow-plugin [ 18820 ] | |
Issue Type | Improvement [ 4 ] | Bug [ 1 ] |
Labels | workflow | |
Priority | Minor [ 4 ] | Major [ 3 ] |
Assignee | Kohsuke Kawaguchi [ kohsuke ] | Jesse Glick [ jglick ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remote Link | This issue links to "PR 6 (Web Link)" [ 12201 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Workflow | JNJira [ 161594 ] | JNJira + In-Review [ 196809 ] |
Labels | workflow | pipeline workflow |
Labels | pipeline workflow | pipeline |