bragboy
bragboy

Reputation: 35542

How to further automate Teamcity

I have successfully configured my project for build in TeamCity. Going a step more, I want to run a deployment script once a build completes successfully. The deployment script is a simple bash command. To make the question more simpler, how would I invoke a shell command once a build successfully completes in Teamcity.

Please help

Upvotes: 0

Views: 2388

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401975

TeamCity 6.0 has a new feature called Multiple Build Steps:

Multiple Build Steps: Now any build configuration can be comprised of unlimited number of build steps, where each step is represented by a build runner. Don’t limit yourself, and combine as many build runners into one configuration as you need. Feel free to call a NAnt script before compiling VS solutions, run inspections and duplicates finder after your ANT build, add NUnit tests after your Rake build, and so on.

So you can add a new build step with the command line runner which will execute your shell script.

Upvotes: 3

Related Questions