Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Not A Defect
-
Component/s: job-dsl-plugin
-
Labels:
-
Environment:Job DSL 1.42 w/ Jenkins 1.609.1 in official Jenkins Docker Container
-
Similar Issues:
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
Yes, I was using a helper script and wasn't aware I needed to add that import, thanks for the insight! You can go ahead and close this ticket.