Re: Break init scripts up in to re-usable classes

2018-03-13 Thread Ewelina Wilkosz
you're right, it is only alpha so far and I wouldn't say it's production ready, but should be pretty soon - I hope to have next, more reliable release in April but I'm part of the team working on the plugin, not using it yet :) so maybe someone here is actually happy enough with current version

Re: Break init scripts up in to re-usable classes

2018-03-13 Thread Edd Grant
Thanks for the response R Tyler Croy, I'm suddenly kicking myself for not finding that plugin when I looked for stuff like this! I notice the plugin is currently at 0.1 alpha, do (or do other folks here) have any experience using it? It it fairly reliable doing the things it mentions in the

Re: Break init scripts up in to re-usable classes

2018-03-12 Thread R. Tyler Croy
(replies inline) On Mon, 12 Mar 2018, Edd Grant wrote: > Hi folks, > > I'm using the init hook script mechanism ($JENKINS_HOME/init.groovy.d) to > programmatically configure Jenkins. I'm building up quite a library of code > and want to split it out in to re-usable classes, to keep things >

Re: Break init scripts up in to re-usable classes

2018-03-12 Thread Edd Grant
Gah, spotted a typo. Just to avoid confusion [3] should say "rather than adding it to the *war*", not the jar. Cheers, Edd On Monday, 12 March 2018 21:57:42 UTC, Edd Grant wrote: > > Hi folks, > > I'm using the init hook script mechanism ($JENKINS_HOME/init.groovy.d) to > programmatically

Break init scripts up in to re-usable classes

2018-03-12 Thread Edd Grant
Hi folks, I'm using the init hook script mechanism ($JENKINS_HOME/init.groovy.d) to programmatically configure Jenkins. I'm building up quite a library of code and want to split it out in to re-usable classes, to keep things maintainable and make it easier to write well focused tests etc. I