Hi Support,
I'm trying to collect build step time(duraion) for further compiling performance investigation automatically.
I don't want to do it manually via 'step status' to see from GUI.
[e.g.]
Here is a cconfiguration:
Step1 - generate A solution
Step2 - compile A solution
Step3 - copy B jobs
Is it possible to get only Step2's duration by script or API? If yes, how to use it?
I tried 2 ways to do according: https://support.pmease.com/PMEase/QuickBuild/topics/3866/why-is-step-getduration-always-null-?1
[e.g.1]
Misc->Execute Script
groovy:
vars.get("step_time").setValue(step.getDuration());
[e.g.2]
Post-Execute Action->Execute a script
groovy:
vars.get("step_time").setValue(step.getDuration());
But 'step_time' in Variables was always NULL(not defined).
Thanks,
Bing
- solved #2
- replies 2
- views 2500
- stars 0