How do I reset build plan average duration?

Jorge Suarez
Contributor
February 5, 2019

I am having to run builds multiple times to debug a few jobs.  This results in the first several runs being very short.  Later when I get everything working, running a job shows Builds is taking xxxx seconds/minutes longer than usual.  How can I reset the average duration timer?

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 6, 2019

Hi @Jorge Suarez

 

Just interesting what is the use case? 

In fact, the duration in short time will be normalized

 

Cheers,

Gonchik Tsymzhitov

Jorge Suarez
Contributor
February 7, 2019

Hi @Gonchik Tsymzhitov,

As I said, setting up a build plan is an iterative process and those initial short runs only take a few seconds.  If I have to run it 20x to get some scripts right, I would like to get an accurate time for real builds.  

Actual use case - accurately determine if I should go get coffee or take a break while waiting for build to complete. 

Theoretically, I could just create a debug plan and when it's right clone the entire plan so it starts from 0 again, but as many programmers I am lazy and expect features that give me complete control.  Also, it becomes inaccurate again when we add a new stage like deploy to server instead of upload to repo (I know now there are Deploy plans for this).

As for normalization, if we have a daily build, it could more than a month to normalize, and also anytime someone breaks the build, if running through those takes a few cycles, it will make it deviate again.

Like Nic Wainwright likes this
Nic Wainwright May 6, 2022

Also interested, but in a converse method. My initial run, or runs after purging my docker container, take wayyyyyyy longer (10x or more) than my standard builds. Would also love to see how to reset the avg timer

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events