Reboot agent through rest api

Answered

Is it possible to trigger a restart of an agent through rest api with the "Wait for current build to finish" enabled?

1 comment

Hello Jimmy,

There is no such REST API request. Please vote for the request https://youtrack.jetbrains.com/issue/TW-36298. 

What you probably refer to is a HTTP request sent to TeamCity server just like a browser sends when a user clicks related button in TeamCity UI. That is not part of documented "API" and can be used as a workaround. See the comment.

0

Please sign in to leave a comment.