Schedule Trigger on branches does not work. It works with Finish Build Trigger.
Answered
Hello.
I'm trying to setup a TC job to run once per day, with 2 branches from 2 different repository.
It works fine if I use "Finish Build Trigger", but does not work when use Schedule Trigger.
Our version: TeamCity Professional 10.0.5 (build 42677)
Could you please tell me if there is any workaround for this issue?
Thank you,
Adrian
Please sign in to leave a comment.
Hello Adrian!
First of all, I would like to remind that your version of TeamCity is out of support (https://www.jetbrains.com/help/teamcity/how-to.html#HowTo...-TeamCityReleaseCycle), so I would strongly recommend to consider an upgrade.
Speaking of the configuration on the Schedule Trigger; could you please also provide a screenshot of Triggering Conditions tab?
Hello Fedor,
Thank you for your replay. Please see attached the image from Triggering Conditions tab.
Adrian,
Thanks for the details above! As per the VCS changes section, this instance of trigger will only start build if there are pending changes on the branch in question (https://www.jetbrains.com/help/teamcity/change.html); if there are none, trigger will be skipped until next time. If you need to run the builds regardless of whether the revision has changed, please disable "Trigger only if there are pending changes" option.
Hi Fedor,
I've disabled that option and waited for the build to start, but still did not work. This is what I have now:
As I mentioned before, it works when I use Finished build in Continuous Integration (if I disable the second trigger and enable the first one in below image):
Do you have other suggestion that I can try?
Thank you very much for your support!
Adrian
Hello Adrian,
Sorry for the delay with response. Could I ask you to provide me with the teamcity-server.log from <TeamCity Server>/logs folder covering the time when trigger should have been executed but was not? (you may try to modify the schedule time to be closer to the current, then send over the log)
In order to do so in a private manner, you may use Submit a request form at the top of the page; please refer to this thread so the request gets routed to me.