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, 2018 at 12:51 PM red 888 <fakemailred...@gmail.com> wrote: > Hello yes thats what im after (although your second example doesn't have > any steps). Sorry didn't check this thread in a while. > > It would also be great if I could actually pass in args so it could be > like > commonPost{arg1 = 'blah', arg2 = 'balh'} > > > > -- 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/CAG%3DrPVeNF8OhJvzBu-zTnpouUeQkQB_XdZRDmrVOSX1gnhepvQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.