Behavior enum isn't available in PublisherContext for Groovy PostBuild Plug-in

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: job-dsl-plugin
    • Environment:
      Job DSL 1.42 w/ Jenkins 1.609.1 in official Jenkins Docker Container

      When trying to add second Behavior parameter to groovyPostBuild("script here", Behavior.DoNothing) I got this error message:

      ERROR: (Script1.groovy, line 17) No such property: Behavior for class: javaposse.jobdsl.dsl.helpers.publisher.PublisherContext

            Assignee:
            Daniel Spilker
            Reporter:
            Chris Pauley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: