Sending error messages of failed deployments to TeamCity

We create Octopus releases from TeamCity. Then, we deploy our releases in Octopus. Is it possible to send error messages of failed deployments back to TeamCity, so that those messages show up in the build log or in a report perhaps?

Thanks.

-Tony

Hi Tony,

Thanks for getting in touch! This is absolutely possible with Octopus/TeamCity!

The following flags can be used during release creation that will make TeamCity wait synchronously for the deployment to finish while recording its progress.
--progress
--waitfordeployment
This should allow Octopus to feed the deployment steps and any errors back into TeamCity.

In our documentation on creating releases we have a list of the different flags you can use, I have linked it below.

Let me know if this helps.

Regards,
Daniel

Thanks, Daniel. I’ll give this a try.

Cheers,
Tony