Issue Type: Bug Bug
Assignee: Daniel Spilker
Components: job-dsl-plugin
Created: 11/Mar/15 6:41 PM
Description:

I converted my Job-DSL scripts to the 1.30 syntax changes, and tried:

[...]
folder("Sandbox")
[...]

"Process DSL" complained about:

FATAL: No signature of method: sandbox.folder() is applicable for argument types: (java.lang.String) values: [Sandbox]
Possible solutions: folder(groovy.lang.Closure), folder(java.lang.String, groovy.lang.Closure), find(), collect(), queue(java.lang.String), sleep(long)
groovy.lang.MissingMethodException: No signature of method: sandbox.folder() is applicable for argument types: (java.lang.String) values: [Sandbox]

The workaround is to add an empty closure like this:

folder("Sandbox) {}

but I would expect it to work without it.

Environment: Job-DSL 1.30
Jenkins 1.596.1
Project: Jenkins
Priority: Minor Minor
Reporter: Klaus Schniedergers
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to