Exclude steps in TeamCity

I have a build in Teamcity which executes Octopus steps. Is there a way I can exclude certain steps to run?
For example: I can choose specific steps to run when deploying directly via octopus for instance: step 2 only.

  1. Stop IIS
  2. Deploy UX
  3. Deploy API
  4. Start IIS

Can I do the same with TeamCity?

Hi,

Thanks for reaching out.

The TeamCity plugin is nothing more than a wrapper for Octo.exe. This ultimately means that anything that Octo.exe can do, can also be done from TC.

You can skip steps using the --skip parameter as shown on the docs below

On TeamCity, you’ll have to add the parameter+value to the field Additional Command Line Arguments

Hope that helps!
Dalmiro