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.

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

            Created:
            Updated:
            Resolved: