On 09.10.2015 18:02, Martin Braun wrote:
> * I can read the email address using `git log -1 --pretty=%ae` from the
> 'Execute Shell' section. But then how can I use it later on? I was
> hoping that 'Capture build context information' -> 'Capture Environment
> variables' would allow me to export variables from the shell section,
> but that doesn't seem to work. I will admit I don't really know what the
> BuildContextCapture Plugin does.

I ended up piping the output of said git command into a properties file,
then using that in subsequent triggers by injecting it using the
EnvInject plugin.

M

-- 
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/561C2D1A.9090600%40ettus.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to