On Fri, Apr 22, 2022 at 11:18 AM Mathieu DELROCQ
wrote:
> get the duration of the stage wich use the agent
>
Should be possible to calculate given
https://javadoc.jenkins.io/plugin/workflow-api/org/jenkinsci/plugins/workflow/actions/TimingAction.html
--
You received this message because you
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 a
écrit :
> Thank you I will try this !! :D
>
> Le mer.
Thank you I will try this !! :D
Le mer. 20 avr. 2022 à 14:25, 'Jesse Glick' via Jenkins Developers <
jenkinsci-dev@googlegroups.com> a écrit :
> On Wed, Apr 20, 2022 at 4:03 AM Mathieu DELROCQ
> wrote:
>
>> I have a Run object and I would like to get all agents used in this run.
>>
>
> For
On Wed, Apr 20, 2022 at 4:03 AM Mathieu DELROCQ
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