Hi everyone, I have a very specific use case. All my Jenkins users must be allowed to create jobs that do a very specific thing. Not generic jobs. But jobs that are all created from the same template.
I use the Job DSL plugin to create these jobs, and the jobs created all use the same pipeline code. Now, I'd like to remove the users' permission to create any other type of job except this one. So that when the user clicks "New Item" the Freestyle, Pipeline, Maven, etc options are hidden or disabled and only my new job type can be chosen. What's the best way to go about this? My plan is as follows: - What's the appropriate extension point to define a new job type? Or what's a good plugin to look at to get an idea? - How do I disable or hide all other project types? I'm thinking I'll need to define my own Permissions. - How can I hook into my existing DSL job so that the creation of my job will fire the seeder I already have? Thank you, -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/1e0faca8-e698-42ea-8a33-02fbddbb421b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.