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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not A Defect
    • job-dsl-plugin
    • Job DSL 1.42 w/ Jenkins 1.609.1 in official Jenkins Docker Container

    Description

      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

      Attachments

        Activity

          cmpauley Chris Pauley created issue -
          daspilker Daniel Spilker made changes -
          Field Original Value New Value
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 168160 ] JNJira + In-Review [ 209628 ]

          People

            daspilker Daniel Spilker
            cmpauley Chris Pauley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: