Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,519
Community Members
 
Community Events
168
Community Groups

How do I reset build plan average duration?

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

Hi @Jorge Suarez

 

Just interesting what is the use case? 

In fact, the duration in short time will be normalized

 

Cheers,

Gonchik Tsymzhitov

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

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

Atlassian Community Events