-
Improvement
-
Resolution: Unresolved
-
Major
If you use
wrap([$class: 'MaskPasswordsBuildWrapper']) { // commands here }
outside of a node block the workflow will fail with
org.jenkinsci.plugins.workflow.steps.MissingContextVariableException: Required context class hudson.FilePath is missing at org.jenkinsci.plugins.workflow.steps.StepDescriptor.checkContextAvailability(StepDescriptor.java:260)
It's a hassle to have to wrap every individual node with this
- relates to
-
JENKINS-30142 timestamped logs not available in all workflow logs.
- Resolved
-
JENKINS-44741 Build User Vars should not require node
- Closed