Appreciate the quick reply.
Could you please elaborate on implementing 'Step'? SimpleBuildStep extends 
hudson.tasks.BuildStep. 
Do I need to implement BuildStep? What exactly should return the Non-null 
value.
Gleaning information from existing documentation is nearly hopeless, and 
randomly poking around core and plugins' code even with debugger takes 
forever.

On Thursday, February 16, 2017 at 5:07:58 PM UTC-5, Jesse Glick wrote:
>
> On Thu, Feb 16, 2017 at 2:53 PM, sohl <[email protected] <javascript:>> 
> wrote: 
> > The plugin uses a standard method to set the variable by implementing 
> > "EnvironmentContributingAction.buildEnvVars" 
>
> This interface is not currently compatible with Pipeline I am afraid. 
>
> Anyway where steps should provide information to other steps in the 
> build, it is better to implement `Step` directly (rather than 
> `SimpleBuildStep`), and have a non-void return value. 
>

-- 
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/e7dbe8bb-df69-4f43-9db3-917d4264caa1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to