This was too optimistic:
build.getEnvironment(listener).put("FOO", "BAR");In a later buildstep, the "FOO" env var is still null. On Wednesday, February 27, 2013 3:00:47 PM UTC+1, PhilipLB wrote: > > Hi, > > I'd like to set an environment variable from within the execution of my > Builder (in my plugin). How do I do this? SCM plugins have their > buildEnvVars-method (or similar), but the Builder doesn't... > Any help would be greatly appreciated! > > Best regards, > Philip > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
