-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Jenkins 2.4.0
Job DSL Plugin 1.5.7
Nested View Plugin 1.14
I wanted to add a nested view using the jenkins job dsl plugin. I refered to this sample .
nestedView('project-a') { views { listView('overview') { jobs { regex(/project-A-.*/) } columns { status() weather() name() lastSuccess() lastFailure() } } buildPipelineView('pipeline') { selectedJob('project-a-compile') } } }
The error on jenkins is the following:
ERROR: (seed_defaults.groovy, line 122) No signature of method: java.util.ArrayList.call() is applicable for argument types: (seed_defaults$_run_closure5$_closure27) values: [seed_defaults$_run_closure5$_closure27@438e2f8b]
Possible solutions: tail(), tail(), wait(), last(), any(), last()
whereas line 122 is the following line:
views {