Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75846

discoverReferenceBuild does not accept String values for Result parameter

XMLWordPrintable

      Using the Pipeline Syntax page to generate code for discoverReferenceBuild results in:

      discoverReferenceBuild requiredResult: 'FAILURE'
      

      This doesn't work as requiredResult doesn't expect a string. Instead it's expect:

      discoverReferenceBuild requiredResult: hudson.model.Result.FAILURE
      

      So either the code generator should be adjusted, or the parser that he also accepts a string.

            drulli Ulli Hafner
            sunblack sunblack
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: