Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do not re-add build because of unexpected finish in TeamCity

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

I saw only one message in Overview section after auto-triggered build: "Re-added because of unexpected finish"

like image 836
Timur Gilmullin Avatar asked Jul 20 '15 15:07

Timur Gilmullin


1 Answers

There is a parameter which can be specified on a project or build configuration level: teamcity.buildQueue.restartBuildAttempts

By default it's value is 3, so TeamCity makes 3 attempts to restart build in case of unexpected finish. You can set it to 0 to disable this behavior.

like image 74
Pavel Sher Avatar answered Oct 12 '22 15:10

Pavel Sher