Search code examples
tfsazure-devopstfsbuildazure-pipelines

TFS build with Git repository


We are using Visual Studio Online (now Visual Studio Team Services) and our front end team have chosen Git as their repository. I want to implement CI for them so that every time they commit changes, I want to copy the flat html files to a different server. There is no solution (.sln) or project (.csproj) file.

How can I achieve this?


Solution

  • Something like this:

    First, create a solution and a project.

    Second, do this: http://blogs.msdn.com/b/visualstudioalm/archive/2013/02/12/run-ci-builds-in-your-git-team-project.aspx

    Third, you're going to have to add a post-build script that kicks off the xcopy. You're probably going to want to do this in PowerShell.