I am working on creating a chef cookbook to automate our Jenkins infrastructure. I am using the opscode Jenkins cookbook as my starting point but it only has a few basic resources. I can see I am going to need use the cookbook's jenkins_script resource to configure Jenkins via groovy.
That would be fine except I am having considerable difficulty figuring out how to configure Jenkins via groovy. There does not seem to be a lot of information out there either in the Jenkins docs nor in blogs, etc. None of the plug-ins document their API, etc. There are API docs for main Jenkins which help but only if you already understand the big picture, which is what I am struggling with right now. I understand how to configure all of our Jenkins boxes via the UI, but how do I learn to translate that into knowledge of writing groovy scripts? Right now the only means I am seeing is to spend a very long time digging my way through the source code itself and learning from trial and error. Is there another way? How do people out there learn and use the Jenkins API? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a3c7f63e-578b-4104-b45e-61f646d04bff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.