I'm trying DSL job plugin to create new jobs in Jenkins. Is there a way to specify the view when creating the job?
For example, I have a view NewJobsView
. I want to create a DSL job called dsl-job
and it is creating a new job "dsl-created-job1"
DSL like this:
job {
name 'dsl-created-job1'
//view 'NewJobsView'
//or view {...} to specify the view
}