Well part of the issue is that there can be more than one scm.

I think each scm used attaches a tracking action... most likely associated
with the node that the checkout was performed on

On Wednesday 26 October 2016, Ullrich Hafner <[email protected]>
wrote:

> Is there an equivalent method for a Run (e.g. a pipeline job) to get the
> used SCM?
> Method getScm() is available in AbstractProject but not in the parent
> class Run.
>
> Ulli
>
> --
> 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] <javascript:;>.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/B1B4B44B-AF8F-4269-A907-65D9AE9A9E21%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my phone

-- 
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/CA%2BnPnMzOZxs%3DvQfFKNtRMfR0poS%3DuYBNJPdMQB_zPqxbKWDv2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to