voxpupuli / puppet-jenkins

Puppet module for Jenkins
http://forge.puppetlabs.com/puppet/jenkins
Apache License 2.0
276 stars 565 forks source link

support basic management of views #511

Open jhoblitt opened 8 years ago

danielpalstra commented 8 years ago

I would recommend using this plugin for managing views. https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin. Great documentation and a very rich DSL for multiple other plugins.

The required seed job can then be managed by puppet job.

Just my 2 cents.

jhoblitt commented 8 years ago

Does Job_DSL just wrap https://wiki.jenkins-ci.org/display/JENKINS/Dashboard+View or does it have extra functionality?

rtyler commented 8 years ago

I would rather avoid using Job DSL since then we would have 3-4 different ways of manipulating Jenkins in this module.

One thing to bear in mind @jhoblitt is that not all "Views" are configurable in the same way. Some are container views like the Dashboard view plugin, but then Pipeline Multibranch or the Folders plugin also (IIRC) provide view extension points but do not let users add jobs in the same way.

:frowning:

jhoblitt commented 8 years ago

I think I'm on the record about not wanting to use a configuration DSL. :)

cdenneen commented 8 years ago

:+1: I think managing adding a view is a very plus