yes 'Void' should be returned. Thank You! On Wednesday, June 12, 2019 at 8:38:24 PM UTC+5:45, Jesse Glick wrote: > > On Tue, Jun 11, 2019 at 6:09 PM prastik Gyawali > <[email protected] <javascript:>> wrote: > > 1) What should be the implementation/use of the Execution class > here?(Its return type- a badge?) > > If it is to be used from Declarative, normally the return type will be > `Void`, since only a Scripted Pipeline could assign a return value to > a variable. > > https://github.com/jenkinsci/workflow-step-api-plugin/blob/master/README.md > has some general background, if you have not yet seen it. >
-- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d15e04be-7eb2-4306-a9e5-bcd60d87af99%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
