Add job to an EXISTING build monitor view located inside nested views

41 views
Skip to first unread message

misha

unread,
May 19, 2017, 8:25:01 AM5/19/17
to job-dsl-plugin
Hi guys

I managed to create build monitor view directly in the main view of the jenkins with DSL method:
buildMonitorView('UnifiedTest') {
    description('All jobs for branchName')
    jobs {        
        regex(/branchName-.+/)
    }
}
However not being able to add each created job to an existing view from this structure:
http://<myJenkinsServer>:8080/view/TEST/view/TEST2/view/UnifiedTest/ 
where TEST and TEST2 are views of type "NestedView" and UnifiedTest is of type "BuildMonitorView"

I need and appreciate your help!
PS I tried many way to to it (via DSL, via  jenkins-cli.jar add-job-to-view) but without success :(

Daniel Spilker

unread,
Jul 6, 2017, 4:31:40 PM7/6/17
to job-dsl...@googlegroups.com
Can you post a small script that reproduces the problem?

Daniel

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugin+unsubscribe@googlegroups.com.
To post to this group, send email to job-dsl-plugin@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/d31f30ef-f6d0-4fa9-9f27-4a2918d7daa7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages