PDA

View Full Version : Stop build if modified files exist (subversion)


jamesblast
07-30-2007, 08:14 AM
Hello,

I want visual build to stop building, of there are any modified files to the local workingcopy.

Perhaps subversion can be queried for changes and visual build stops building then.

I hope there is a solution.

Thank you!

kinook
07-30-2007, 10:47 AM
Create a Subversion step to query for the necessary information (you would need to consult the SVN documentation on if/how that can be accomplished), and in the step's vbld_StepDone script event parse the output and fail the build if needed (Step.BuildStatus = vbldStepStatFailed).
http://www.visualbuild.com/Manual/scriptevents.htm
http://www.visualbuild.com/Manual/contintegsample.htm