On Thu, Jun 2, 2016 at 4:14 PM, Jimmy Ray <[email protected]> wrote:
> VariableInjectionAction action = new
> VariableInjectionAction(read.getEnvKey(), value);
>                 run.addAction(action);
>                 run.getEnvironment(listener);

Not quite sure what you are trying to do here, but it will not work.
Just use `SimpleBuildWrapper.Context.env(String, String)` to set
variables within the block.

-- 
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/CANfRfr0Y-znJqRLRG8kiAXMSVF87%3Dw-UbPLndB2mtbZJrtYUMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to