Trigger build for every git push
Hi TeamCity,
I have a question. I'm considering switching from Jenkins to TC since it looks like it isn't possible to have a waiting build queue length of more than one build. For this waiting job, it just gathers all GitHub push events and aggregates them in this build. But what I need is to have a build triggered for each separate push event, even when the successive push events have updates on the same file.
Does TC allow for this? Or is there a limit to the length of waiting builds?
Kind regards,
Rein
Please sign in to leave a comment.
Hi Rein,
The VCS Trigger has an option named "Trigger a build on each check-in" that will trigger a separate build for each commit picked up from the repository. Could you check whether that's what you are looking for?
Yes it worked very nicely. I even wrote a tutorial for it: https://reinvantveer.github.io/2017/10/25/queue-ml-builds.html
Thanks,
Rein