Why do build servers poll for changes instead of SVN firing off an event (or a post-commit step) that tells the build server to start a build? It seems terribly inefficient to poll for changes, especially when the number of projects increases and the polling period is set to a very low value (for example, 30 seconds).
Share
Polling is inefficient and it doesn’t doesn’t scale at all. If your VCS has support post-commit hooks, you should prefer this mechanism. Hudson exposes an URL to trigger a build, wget it from the post-commit script (and configure an appropriate quiet period).