discoverReferenceBuild does not accept String values for Result parameter

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

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
          Archiver:
          Jenkins Service Account

            Created:
            Updated:
            Resolved:
            Archived: