Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using TFS build definitions on a local machine

Tags:

build

tfs

I have created a lightly customized TFS build process template and also appropriate TFS build definition. It builds fine on the TFS build server.

Is there any way I can allow developers to reuse the same build process XAML and definition to do full builds on their local machines? Maybe there is some utility which can be run with TFS build process XAML files?

I really would like to avoid maintaining a separate copy of the build script for full local rebuilds.

like image 357
JustAMartin Avatar asked Apr 02 '12 13:04

JustAMartin


People also ask

What is build definition in TFS?

A build definition is the mechanism that controls how and when builds occur for team projects in TFS. Each build definition specifies: The things you want to build, like Visual Studio solution files or custom Microsoft Build Engine (MSBuild) project files.

How does TFS build work?

Team Foundation Server (TFS) is an ALM product from Microsoft which provides the capabilities for an end-to-end development and testing using Work Item Management, Project Planning (Waterfall or Scrum), Version Control, Build/Release (Deploy) and Testing capabilities.

Is TFS a build server?

In this article. This topic describes how to prepare a Team Foundation Server (TFS) build server to build and deploy your solutions using Team Build and the Internet Information Services (IIS) Web Deployment Tool (Web Deploy).


1 Answers

The build templates can only be run by the TFS build service. Without installing that on each developers machine, that might not be the best idea.

An alternative is to setup a share on the developments machine and grant access to the TFS Build account (the one that TFSBuildServiceHost.exe runs on the server as). Then the developer can Queue a build and get the Server to Drop the files onto their machine.

Queue Build

The downside to this is you need a lot of builds to be run on the Agents.

like image 161
DaveShaw Avatar answered Oct 05 '22 01:10

DaveShaw