Category Archives: TFS

GIT repository cleanup

The project has been moved from the TFS & TFVC to the VSO & GIT and I was surprised by the size of one of my GIT repositories – it was 13GB! This is quite large for a GIT repo … Continue reading

Posted in BFG, cleanup, GIT, GIT-TF, TFS | Tagged , , , , | 1 Comment

MS SQL databases restore with TFS Team Build and PowerShell

Currently I’m working on a web project with a few environments like Dev, POC, QA, UAT, Staging, etc. Once per sprint we have to synchronize our DBs from Staging to other servers to make sure all environments are on the … Continue reading

Posted in PowerShell, TFS | Tagged , | Leave a comment

Run batch file from TFS build?

From time to time, I have to run batch files to perform some cleanup or restore jobs on CI servers. Usually this is as simple as logging into the remote server and manually launching a batch file. But what about … Continue reading

Posted in build, TFS | Tagged , , | 1 Comment