That's my question. I know that only "Execute System Groovy script" can run on master and get this property but I want to get it from worker node. From worker node I want to get current jenkins instance.
On Monday, November 6, 2017 at 4:38:10 AM UTC-6, Dirk Heinrichs wrote: > > Am 03.11.2017 um 15:37 schrieb Lee Meador: > > I'm a little fuzzy on all the ins and outs of it but I believe that line > of groovy code above always runs on the master anyway. > > > Where Groovy code runs depends on the type of build step. A "System Groovy > Script" step always runs on the master, regardless of where the actual job > runs. A normal "Groovy Script" step always runs on the node which executes > the job. There's no way that a single line of one script would run on > another node. > > Bye... > > Dirk > -- > *Dirk Heinrichs* > Senior Systems Engineer, Delivery Pipeline > OpenTextTM Discovery | Recommind > *Email*: [email protected] <javascript:> > *Website*: www.recommind.de > > Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach > > Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon > Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB > 10646 > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden > > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail sind nicht gestattet. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b0512af2-eed4-4467-8e94-803dc7bcd1a0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
