Retry Trigger on Personal Builds
Hello,
We have a build type that may fail at times due to network issues which is resolved on a retry. Due to this we have added a retry trigger to that build type. I noticed this functions on regular builds, however I noticed it is not working on personal builds. I did not see any options for personal builds on this trigger, is it possible this is not support yet or there is a different trigger to handle this on personal builds?
Please sign in to leave a comment.
It seems that the retry trigger currently doesn't work for personal builds for some reason. I have reported it to the Development Team. Please vote for it to receive updates: https://youtrack.jetbrains.com/issue/TW-87236/The-retry-trigger-doesnt-trigger-for-personal-builds.
As a workaround, it may be suitable for your requirements to add a build step that will execute only if the previous build step failed (see https://www.jetbrains.com/help/teamcity/2024.03/build-step-execution-conditions.html), and will add the same build to the queue using the TeamCity REST API (https://www.jetbrains.com/help/teamcity/rest/start-and-cancel-builds.html).
Best regards,
Anton