Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TeamCity "Retry on Fail" Build Trigger - Limit retries

Tags:

teamcity

I have a build that I know will fail randomly, around 5% of the time. This is due to an external resource that I have no control over.

Setting a "Retry on Fail" build trigger is easy enough, except that it doesn't allow me to specify a number of retries before it stops trying all together.

Is there a way to have TeamCity retry a build on fail, only n number of times?

Thanks!

like image 459
Dave Martorana Avatar asked Mar 21 '11 22:03

Dave Martorana


People also ask

How do you trigger a build in TeamCity?

To run a custom build with specific changes, open the build results page, go to the Changes tab, expand the required change, click the Run build with this change, and proceed with the options in the Run Custom Build dialog. Use HTTP request or REST API request to TeamCity to trigger a build.


1 Answers

This feature was finally added in version 7.1, See

http://youtrack.jetbrains.com/issue/TW-5165

and

http://confluence.jetbrains.net/display/TCD7/What%27s+New+in+TeamCity+7.1

like image 197
The Nail Avatar answered Oct 12 '22 23:10

The Nail