Re: simple build (DSL) for pipeline plugin

2016-04-04 Thread Michael Neale
Good question, no not sure off the top of my head. I know Jesse identified a problem recently with checkpoints (and unrelated feature, but touches on save program I believe). On Monday, April 4, 2016 at 11:29:51 PM UTC+10, Martin d'Anjou wrote: > > I have written enough code to occasionally get

Re: simple build (DSL) for pipeline plugin

2016-04-04 Thread Martin d'Anjou
I have written enough code to occasionally get a serialization error: Apr 04, 2016 8:22:44 AM org.jenkinsci.plugins.workflow.cps.CpsThreadGroup saveProgram WARNING: program state save failed java.io.NotSerializableException: org.codehaus.groovy.runtime. HandleMetaClass Do you know how I can test

Re: simple build (DSL) for pipeline plugin

2016-03-30 Thread Michael Neale
Yes - interestingly that question/answer comes up a lot. Yes, you have to install deps yourself if using Advanced "tab" to install it. If you use mvn hpi:run to run it in development you don't need to worry about it (which is why few come across this). If this bites you enough, might I sugges

Re: simple build (DSL) for pipeline plugin

2016-03-30 Thread Martin d'Anjou
I will reply to my own question: plugins uploaded manually do not fetch their dependencies. -- 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+uns

Re: simple build (DSL) for pipeline plugin

2016-03-13 Thread Michael Neale
Hi Martin. Yes that is quite confusing. Well for one, I used the "env" to mean the key in a closure that ends up in config, which is slightly naughty, given there is already an env global - so probably shouldn't do what I did ;) I am not sure why it wouldn't work like that - if you use double

Re: simple build (DSL) for pipeline plugin

2016-03-11 Thread Martin d'Anjou
Hi Michael, I played with the plugin quite a bit. I am very enthusiastic about this plugin, because it gives me a way to manage the pipeline script development as if it were a regular plugin (code, test, version and release), while being much easier to write than a regular plugin. I do not pla

simple build (DSL) for pipeline plugin

2016-02-24 Thread Michael Neale
Hey I thought some may be interested in this Pipeline DSL enhancement (ie a plugin that enhances Jenkins pipeline) which is installable as a plugin: https://wiki.jenkins-ci.org/display/JENKINS/Simple+Build+For+Pipeline+Plugin - interested in thoughts/feedback (you use it where you would use a