Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.4k points)
edited by

How can I disable auto-restart tasks in TeamCity after a failed build? I can't find this option anywhere.

1 Answer

0 votes
by (27.5k points)

There is a parameter which can be specified on a project or build configuration level:

teamcity.buildQueue.restartBuildAttempts

Remember that by default it's value is 3, that means, TeamCity makes 3 attempts to restart build in case of unexpected finish. But if you want to disable this behavior, you can set this value to 0.

Browse Categories

...