TeamCity Agents while deploying to Octopus

Jon V's Avatar

Jon V

31 Jan, 2018 09:52 AM

We have two environments :


Within these environments we run a reasonable amount of UI tests, often up to 2 hours per environment.

The issue comes in that while these test are running we have TeamCity agents sitting there until the deploy is finished. However we could have up to 3 deployment streams running at once for a project.

3 streams x 2 agents
2 agents for building code
2 agents for databases.
= 10 Agents for a project.

The question is, is there a better way (more cost effective) to free up the TeamCity agents while the deployment is happening ? What do other people do ?

  1. Support Staff 1 Posted by Ben Pearce on 01 Feb, 2018 01:10 AM

    Ben Pearce's Avatar

    Hi Jon,

    Thanks for getting in touch.

    From the TeamCity Octopus Plugin, the Deploy Release step or the Create Release with the Deployment section filled in, have a checkbox called Show deployment progress. This option causes the step to wait until the deployment is complete before the step finishes and moves to the next step in your build process.

    Also, you can cause the step to wait for deployment completion by passing either --progress or --waitfordeployment parameters in the Additional command line arguments field.

    Let me know if you have any further questions or problems.


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac