-
Improvement
-
Resolution: Fixed
-
Minor
-
-
workflow-step-api 2.19, workflow-support 3.2, workflow-cps 2.63
For monitoring purposes it can be useful to be able to have access to the current FlowNode/Step via environment variables.
This could be done by only injecting the current FlowNode id as environment variable.
A more flexible approach would be a new extension point, similar to an EnvironmentContributor, but called with the current StepContext.
If this idea gets a general go-ahead I will present a prototype.
Previous discussion: https://groups.google.com/forum/#!topic/jenkinsci-dev/VBYvIv3S_r4
[JENKINS-51170] Workflowstep-specific environment variables
Description |
Original:
For monitoring purposes it can be useful to be able to have access to the current FlowNode/Step via environment variables. This could be done by only injecting the current FlowNode id as environment variable. A more flexible approach would be a new extension point, similar to an `EnvironmentContributor`, but called with the current `StepContext`. If this idea gets a general go-ahead I will present a prototype. Cc [~svanoort], [~abayer] Previous discussion: https://groups.google.com/forum/#!topic/jenkinsci-dev/VBYvIv3S_r4 |
New:
For monitoring purposes it can be useful to be able to have access to the current FlowNode/Step via environment variables. This could be done by only injecting the current FlowNode id as environment variable. A more flexible approach would be a new extension point, similar to an {{EnvironmentContributor}}, but called with the current {{StepContext}}. If this idea gets a general go-ahead I will present a prototype. Cc [~svanoort], [~abayer] Previous discussion: https://groups.google.com/forum/#!topic/jenkinsci-dev/VBYvIv3S_r4 |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | New: Sam Van Oort [ svanoort ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "jenkinsci/workflow-step-api-plugin#36 (Web Link)" [ 22337 ] |
Remote Link | New: This issue links to "jenkinsci/workflow-support-plugin#62 (Web Link)" [ 22338 ] |
Remote Link | New: This issue links to "jenkinsci/workflow-step-api-plugin#36 (Web Link)" [ 22339 ] |
Remote Link | New: This issue links to "jenkinsci/workflow-cps-plugin#229 (Web Link)" [ 22340 ] |
Remote Link | Original: This issue links to "jenkinsci/workflow-step-api-plugin#36 (Web Link)" [ 22337 ] |
Released As | New: workflow-step-api 2.19, workflow-support 3.2, workflow-cps 2.63 | |
Assignee | Original: Sam Van Oort [ svanoort ] | New: Thomas Weißschuh [ t8ch ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Resolved [ 5 ] |