It is working as expected. But now I'm trying to get the duration of the stage wich use the agent and I don't find a way to do that. Do you have an idea ?
Thanks in advance. Mathieu DELROCQ Le mer. 20 avr. 2022 à 15:50, Mathieu DELROCQ <[email protected]> a écrit : > Thank you I will try this !! :D > > Le mer. 20 avr. 2022 à 14:25, 'Jesse Glick' via Jenkins Developers < > [email protected]> a écrit : > >> On Wed, Apr 20, 2022 at 4:03 AM Mathieu DELROCQ < >> [email protected]> wrote: >> >>> I have a Run object and I would like to get all agents used in this run. >>> >> >> For `AbstractBuild` (traditional job types), there is a getter. For >> Pipeline (`FlowExecutionOwner.Executable`) you would need to iterate the >> `FlowNode`s looking for `WorkspaceAction` (this would be added to the block >> entry nodes for the `node` step). >> >> -- >> 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/CANfRfr0hhKzUjUXg1qYxyUR-OcNkiKpbViV3yjtnJvLE8SL7JA%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0hhKzUjUXg1qYxyUR-OcNkiKpbViV3yjtnJvLE8SL7JA%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/CA%2BWZsgBYikPFvh_4F6qB6bF%2BGfAzZjUaP58x8Ste2gmhK3tteA%40mail.gmail.com.
