Triggering build on exact time with the latest successful changes from other configuration

Hello,

I have two build configurations (lets say "config1" and "config2").

Now "config1" is triggered manually and "config2" runs build automatically every hour and after new commits.

And I want to add a trigger to "config1", which runs build daily on 6 am with the latest successful changes from "config2".

I know, that it is possible to create a shedule trigger on exact time.
I know, that it is possible to create a finish build trigger with snapshot dependencies after successful build only.

But is it possible to combine somehow those two triggers and make "config1" to pick latest successful build changes from "config2" daily on exact time?

3 comments
Comment actions Permalink

Hi Andrew,

Such feature has not been implemented in TeamCity yet. Please watch/vote for the related feature request - TW-14975 and try the suggested workaround.

0
Comment actions Permalink

Hello,

I noticed, that you implemented this feature in 9.1, but it's still not clear how to use it in my scenario.

Let's say in "config2" develop branch with some changes passed in build #777 and then somebody commited something and build #778 failed in that branch. So if I select the following settings in schedule trigger (http://prntscr.com/7v1rz0), will my "config1" run on 7 am with changes from build #777? Am I right?

I'm sorry, but I cannot allow myself to blindly set these options and try by myself, because it may ruin some things in my company.

0
Comment actions Permalink

Hi Andrew,


No, in this case config1 won't run because the last successful build in config2 does not change.

0

Please sign in to leave a comment.