"Bless" a build that fails due to "Fail build on metric change"

Hi,

We have setup a rule based on "Fail build on metric change"; saying:

Anchor value for tests duration (secs) is taken from <latest successful build>. 
Fail build if tests duration (secs) is different by 50% comparing to the anchor value.

We now have a build that fails because we have introduced some more unittests in the project. The question is now; how do we "bless" the build/reset the counter to make the build not fail?

 

0
2 comments

Hi Gordon,

 

the easiest way is to remove the rule for a build, run a build manually (or wait until it gets triggered), then enable it again.

0
Avatar
Permanently deleted user

Hi Dennis,

 

Yes, this seems like the hard way. 

Have you considered making this a feature? An easy way to reset the  "counter".

 
0

Please sign in to leave a comment.