Continous Build Integration with SourceSafe and Batch Files
- by CraigS
I want to create a continuous build integration system for .NET using just Windows batch files and Visual Source Safe.
I've come up with the following batch file so far -
set ssdir=\\xxxx\vss
cd d:\mydir
"C:\Program Files\Microsoft Visual SourceSafe\ss.exe" diff "$/sourcedir" -R -Q > diffout.txt
This will spit out a file containg lines like "SourceSafe files different from local files" when a change has been made.
My challenge is to figure out if those lines are in the file, then do a get and kick off MSBuild if they are. I'd then schedule the batch file to run every 10 minutes or so.
Anyone got any thoughts on how to do that? Or any other ways of doing continuous build integration without downloading a complicated build automation system?
Update: Happy to use cscript or powershell too, though not really familiar with those environments. My main aim is to avoid installing 3rd party software