That's the one you want (it does the lookups for you) On Wednesday 26 October 2016, Slide <[email protected]> wrote:
> There is also [1] > > 1 - https://github.com/jenkinsci/workflow-job-plugin/blob/ > master/src/main/java/org/jenkinsci/plugins/workflow/ > job/WorkflowJob.java#L539 > > On Wed, Oct 26, 2016 at 3:46 PM Ullrich Hafner <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > >> 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] >> <javascript:_e(%7B%7D,'cvml','[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] >> <javascript:_e(%7B%7D,'cvml','[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]. >>> 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] >> <javascript:_e(%7B%7D,'cvml','jenkinsci-dev%[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. >> >> >> -- >> 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:_e(%7B%7D,'cvml','jenkinsci-dev%[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 >> <https://groups.google.com/d/msgid/jenkinsci-dev/97DC84D6-40CD-4607-8963-0D75DA60940C%40gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit 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] > <javascript:_e(%7B%7D,'cvml','jenkinsci-dev%[email protected]');> > . > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-dev/CAPiUgVdKDwWHOv9aTcmxkOaaHUPZP > iv7-_8YJZOgv2Nm4VYV9A%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVdKDwWHOv9aTcmxkOaaHUPZPiv7-_8YJZOgv2Nm4VYV9A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > 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%2BnPnMyjgb65hiS-ECr0i3mvMtaL8K%2BKfoB4ZrGpGRH4YNspPA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
