Is there a way to access SCMHeadEvent.getPayload() from
EnvironmentContributor ?
Most of my metadata comes from the payload of the SCMHeadEvent.

On Thu, Jan 14, 2021 at 6:57 PM Jesse Glick <[email protected]> wrote:

> Look at `jenkins.branch.BranchNameContributor` as an example. That adds
> variables for stock metadata `Action`s defined in `scm-api`, but you could
> do something similar for more specialized metadata.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/j1pb5tY9KDs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0dfdzNN4itWpRnf%2Brxt-H2iBrn58ZJA4jm52_CnK%3DreA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0dfdzNN4itWpRnf%2Brxt-H2iBrn58ZJA4jm52_CnK%3DreA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAE4RbR6qXJHWM1SpJ%3DqtFR0ZAXD%2BnEtUKqtsknpLBdjEqR%3DNhQ%40mail.gmail.com.

Reply via email to