Reputation: 31
I have a TeamCity project which includes 2 configurations: -BuildConfig1: Triggered by SVN changes -BuildConfig2: Triggeres by successful build of BuildConfig1
I need to send out notifications if BuildConfig2 fails. But only to users which has committed changes to BuildConfig1.
Is this possible?
Upvotes: 3
Views: 2020
Reputation: 371
In BuildConfig2, go to Version Control Settings, then under Checkout Options there is a Display Option called "Show changes from snapshot dependencies".
Checking it apparently does not only change what's displayed, but also propagates notification settings from the build(s) that produced snapshot dependencies.
Upvotes: 2
Reputation: 5468
You may be able to create some sort of franken-build using the TeamCity REST API.
Have a build step corresponding to each of the full builds that will always execute after one of the builds runs. Then in the step 1
check if last execution of build A
finished successfully and repeat for each additional build in the build chain.
Upvotes: 0
Reputation: 7521
http://confluence.jetbrains.com/display/TCD7/Subscribing+to+Notifications
Under Notification Conditions see 'Ignore failures not caused by my changes'
Upvotes: 0