RE: Build on Pre-Commit
From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Fri, 24 May 2013 16:04:51 +0000
> Hello,
I don't think there is ever a 100% certainty that a commit won't break a build even if that commit was ok on another branch.
What is the problem you are trying to solve by doing this? One major point of continuous integration is that your builds break early, giving instant feedback so the dev can fix this issue.
You can "move" the problem to a branch. All commits go to a branch and after the branch builds your build server merges that branch to trunk (or whatever) but that may still break the trunk build.
This is best dealt with procedures. Do your devs have the same build.bat file (or whatever) that the build server does? They should... this way they can...
1. Make code changes test locally.
BOb
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.