Re: Can I have a reusable “post” block for my jenkins pipelines?

2018-08-20 Thread Craig Rodrigues
red 888, I want the exact same thing, i.e. a common post method which I can pass arguments to, such as: commonPost{email='ema...@somewhere.blah', notifySlack=true} etc. If you get something to work, please post a reference to an existing pipeline with this. Thanks! -- Craig On Mon, Aug 20,

Re: Can I have a reusable “post” block for my jenkins pipelines?

2018-08-20 Thread red 888
() > } > > Am I getting that correctly? > > > On Fri, Aug 3, 2018 at 08:20 red 888 > > wrote: > >> wait there seems to be confusion about what i am asking for look at my SO >> post: >> https://stackoverflow.com/questions/51508234/can-i-have

Re: Can I have a reusable “post” block for my jenkins pipelines?

2018-08-07 Thread Jan Monterrubio
out what i am asking for look at my SO > post: > https://stackoverflow.com/questions/51508234/can-i-have-a-reusable-post-block-for-my-jenkins-pipelines > > > I also ready use shared libs, all my pipelines are there. Between those > several pipelines they all have a post block tha

Re: Can I have a reusable “post” block for my jenkins pipelines?

2018-08-03 Thread red 888
wait there seems to be confusion about what i am asking for look at my SO post: https://stackoverflow.com/questions/51508234/can-i-have-a-reusable-post-block-for-my-jenkins-pipelines I also ready use shared libs, all my pipelines are there. Between those several pipelines they all have

Re: Can I have a reusable “post” block for my jenkins pipelines?

2018-08-02 Thread Jan Monterrubio
We do this in our CI. Basically the shared library has some variable parameters you can override and it lets you control what happens based on those. I’ll see if I can scrounge up a sample later today. On Thu, Aug 2, 2018 at 11:04 red 888 wrote: > how does that work though? My pipelines are