In this this example:

https://github.com/jenkinsci/workflow-examples/tree/master/pipeline-examples/timestamper-wrapper

it allows you to wrap certain operations and add timestamps to the console
output.
That may not quite meet your needs, but hopefully you can get some ideas as
to how to proceed.

--
Craig


On Mon, Jan 25, 2016 at 2:46 PM, Yotam Shapira <yotamshap...@gmail.com>
wrote:

> Hi,
>
> I have a parallel workflow that I want to extract some metadata from. For
> example, for the following workflow:
> parallel {
>   "a": node ('...') {
>     ...
>   },
>   "b": node ('...') {
>     ...
>   }
> }
>
> I would now like to know if "a" succeeded, how much time it took to run,
> etc.
>
> Is that possible in any way? I couldn't find any API to support this...
>
> Thanks,
> Yotam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/cc6fba76-67a2-4c77-bc32-5259d6c0e17b%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/cc6fba76-67a2-4c77-bc32-5259d6c0e17b%40googlegroups.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 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVfyUQx-zc-_snTWL08ek_n5-qao7LrS_zXHaJUWsm6Ehg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to