In this repository, you'll find examples how to use the latest generation of Visual Studio Online and TFS to do stuff like 'automated DevOps'.
##GatedCI & Code Policies The project 'GatedRepoCreator' shows you how to create a Git Repository, new Build definition from a Template and a Code Policy, which prevents from pushing to the master if the build is not Green(GatedCI). A demonstration of the GatedCI with Code Policies on Visual Studio Online