I see. Would it work if we loop through all these actions? (This implies that 
we need to know the exact type of these actions, or is there a method to query 
only SCM actions?) 

What we are trying to achieve:
Compute the warnings in a build and map these warnings to corresponding SCM 
changes: this enables us to identify new warnings (and the users who committed 
these new warnings).
 

> Am 27.10.2016 um 00:29 schrieb Stephen Connolly 
> <[email protected]>:
> 
> 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] 
> <mailto:[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
>  
> <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 
> <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] 
> <mailto:[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
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/CA%2BnPnMzOZxs%3DvQfFKNtRMfR0poS%3DuYBNJPdMQB_zPqxbKWDv2A%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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/97DC84D6-40CD-4607-8963-0D75DA60940C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to