currentBuild, mostly. See the /pipeline-syntax/globals URL on your Jenkins.
> On 23.08.2016, at 11:59, Jimilian <[email protected]> wrote: > > Hi! > > My team started to convert jobs from Freestyle jobs to Pipeline jobs, and we > figured out that `Thread.currentThread().executable` doesn't work anymore. > What's best replacement for this? > > Br, Alex > > -- > 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/637b921d-a6e8-49ef-be84-876e54b0b1e7%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/9665725F-A11A-4658-813B-E45634A1EF89%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
