ReBoot Agent as part of build

0
2 comments

Hi,

It is not currently possible to reboot an agent as a build step of a single build, however, it is likely that I can offer a solution or workaround to achieve the same effect. Can you please describe your specific use case so I can better understand why the agent needs to reboot? Also, what version of TeamCity are you using?

0

I should add that it is possible after TeamCity 2020.2, to detach an agent from a build. By detaching the agent from the build, you would be able to reboot the agent as part of your build. However, it is not possible to resume the same build after the agent reboots. If additional build steps are needed after the reboot, you would need to start a second build configuration on the same build agent.

Please see https://www.jetbrains.com/help/teamcity/agentless-build-step.html for details or feel free to ask additional questions.

0

Please sign in to leave a comment.