Mask Passwords should not require node

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            Jakub Bochenski
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: