Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed build trigger in team city TeamCity

Tags:

teamcity

Is it possible to Trigger an exe to run on a failed build? Can you do this within Team City?

like image 506
helena Avatar asked Jan 12 '11 17:01

helena


1 Answers

If you specifically want the failed builds, you can set up the dependent build as Eric said, and have that secondary buildscript use the REST API to pull up a list of the failed builds for the actual project.

If the latest build is in that failed builds list, then tell the build script to run the executable. If not, then you're all done!

http://confluence.jetbrains.net/display/TW/REST+API+Plugin

like image 95
brandogs Avatar answered Oct 06 '22 23:10

brandogs