How to prepare long build with async task and not lock agent?

We have scenarios when build pipeline has step that runs some operation that can take minutes or hours on remote server. We want to continue build process when those operations ends but we don't want to lock agent resources by synchronously wait for result. We usually can't control those remote service to call back TC when they finish so we must pull periodically for a result. Are there any solutions in Team City for such scenarios?

0
1 comment

Hi Dominik,

It seems that you are looking for Agentless Build Step.

And TeamCity Service Messages can be used to report test results, update build parameters, change build status, and more. Additionally, detaching a build can also be managed using Service Messages.

echo ##teamcity[buildDetachedFromAgent]

For more detailed information, please refer to the video in the document.

Best Regards,

Tom

0

Please sign in to leave a comment.