Executing command after build


I am trying to get TeamCity (4.5.4) to execute either a command line or batch file after it finishes building. I've read many articles on using the build runner to do this (runner command line), but the problem with that is for my situation, it has to be the runner sln2008. Does anyone have any suggestions on the easiest way to do this?

Thank you

1 comment
Comment actions Permalink


There is no easy way to do this in 4.5.4 version. You can try to use  MSBuild runner and run batch file inside your build script.

TeamCity 6.0 EAP build introduces new feature — multiple runners per single build configuration.  With it you can add many steps into a build. The steps are executed one after another, the build gets merged status and the output goes into the same build log. You can use sln runner and than commend line, for example.

Kind regards,


Please sign in to leave a comment.