I figured this out. I ended up crawling around the actual workflow UI java code. It's fragile, but this doesn't appear to be supported in a nonfragile way. The classes I used were FlowNodeUtil, Describe, StatusExt, etc.
On Monday, October 17, 2016 at 10:34:20 AM UTC-4, Zack Sampson wrote: > > Hey, > > I'm trying to write a Pipeline job to generate a daily summary of my > pipeline runs from the preceding day. I've figured out that in a > non-sandboxed, non-CPS block I can get at the hudson instance and from > there find the jobs/runs, but I can't find out how to get to the "stage X > took Y minutes" data. > > Has anyone done this before? Do you know where that data lives within > WorkflowRun? > > Thanks, > - Zack > -- 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/db0f58bd-35ca-474a-9849-9e3e8f28235f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.