I think there is a BUILD_CAUSE token that every freestyle job gets when it runs.
Check the Environ Injector Plugin for more details On Thu, Jun 8, 2017 at 4:28 PM, Victoria Kozel <[email protected]> wrote: > Hello, > > I am trying to pass environment variables from Upstream Job to a > Downstream Job without writing properties file to disk or creating extra > job parameters. Basically, my Downstream job needs to know if it was > triggered by upstream or not. > > Thanks!! > > -- > 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/81b57a38-968e-4a24-a4a0-5c85cf9e6c1e%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/81b57a38-968e-4a24-a4a0-5c85cf9e6c1e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Dick Ginga Build Engineer [email protected] -- 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/CAL3PpaVxn2Fw7N2TJVy8OdFL82kx9uDE%2BO8i3vHy4xq7K1SEBA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
