Trigger on failed build

Hi,

I have few build configurations, :
1. Makes WAR archive;
2. deploys it on the server;
3. Tests web application.
When the tests fail I want to trigger another build config, which deploys previous working version of web application.
How can I trigger configuration to launch when some build failed? I found only the possibility to trigger on successful build.

Thanks in advance.

3 comments

Hello Alex,

I'm afraid it's not possible in the current TeamCity version but we have related feature request: http://youtrack.jetbrains.net/issue/TW-3677
Please watch/vote for it.

Kind regards,
Marina

0

Hi there,

i think the TW-3677 is not the same.

I would like to habe a Build Trigger "Failed Build Trigger". i have a setup were i want another build step startet if a specific one is failing.

Or is there any way to do that in 6.5.3?

Thanks a lot

0

I think we do not have similar request in our tracker, feel free to submit one. Probably we should improve Finish build trigger and allow to specify there more complex rules of triggering.

0

Please sign in to leave a comment.