I have a TeamCity job which builds our website from a given branch. I am trying to get a build which runs a couple of automated Selenium tests against that site that was just built.
The build configuration I want to kick off another build configuration when it finishes is called "Site Alpha – Feature Branch QA Builds", but it doesn't seem to fire any finish build triggers, so I went back to basics.
I tried setting up 2 new jobs for testing, "test trigger build > run" and "test triggered build >plain_run > plain". Both do simple command line "echo" statements and the second one has a finish build trigger configured to fire when the first one finishes. This works perfectly.
I added another finish build trigger to "test triggered build >plain_run > plain" to build when "Site Alpha – Feature Branch QA Builds" finishes. When I build "Site Alpha – Feature Branch QA Builds" the finish build trigger on "test triggered build >plain_run > plain" does not fire.
All 3 build configurations are compatible with all of the build agents.
I am using TeamCity Enterprise 8.0.1 (build 27435) and accessing it in Firefox 31.0
(1) "Build Triggers" configuration page for "test triggered build >plain_run > plain"
(2) Build log for "test trigger build > run" (#6 here triggered #1 in image (3), #7 here triggered #3 in image (3) )
(3) build log for "test triggered build >plain_run > plain" (#2 triggered manually, #1 and #3 triggered by above, image (2) )
(4) build log for "Site Alpha – Feature Branch QA Builds" (being built regularly, but hasn't fired trigger once)