Questions tagged [tfsbuild]

Automated Builds using the Team Foundation Server / Visual Studio Team Services build system

Questions related to TFS builds, either in on-premise TFS or in Visual Studio Team Services. This includes task-based builds in TFS 2015/Visual Studio Team Services, TFS 2010-2015 and VSTS builds based on Windows Workflow build process templates, and MSBuild-based builds in from early on-premise versions of Team Foundation Server.

You might also be interested in these related tags:

3292 questions
1
vote
2 answers

TFS build unable to find some NuGet package versions

The packages restore fine on the developer PC and using Visual Studio on the build server. When performing an automated build using TFS, however, many of the packages fail with a messages like these: WARNING: Unable to find version '5.0.4' of…
Keith Walton
  • 5,211
  • 6
  • 39
  • 53
1
vote
1 answer

Octopus Package Application Step in TFS Build not picking up files in sub folders

Hi I am using Octopus Deploy Package Application step to package up my website I specified the Source Path, Output path etc just fine. If I do not specify the Include files it brings back everything in the folder structure as the package. But I only…
MicroMan
  • 1,988
  • 4
  • 32
  • 58
1
vote
2 answers

Error building Sitecore project on TFS2015

I just installed TFS2015 on a new server (locally) and now I'm trying to set up TFS2015 builds to replicate my xaml builds and I'm getting an error that I don't understand. Here's the error: Build started 8/31/2016 12:36:33 PM. 1>Project…
Ben_G
  • 770
  • 2
  • 8
  • 30
1
vote
1 answer

How can I set the Timeout for a unit test takes to run in TFS Build Server

Recently we have had an issue where a unit test started to take 20+ minutes to run when on the build server. I have now fixed that issue but I wondered if there was a way to fail the test when running a CI build on TFS server if a test reaches a…
I Bowyer
  • 691
  • 1
  • 9
  • 21
1
vote
2 answers

TFS (vNext) + Karma + Chrome : Chrome have not captured in 60000 ms, killing

I am trying to build our team's UI through TFS 2015(vNext) on premises builds. I am using Grunt build step in vNext to call a gruntjs file which will build all the grunt tasks. Currently,the build is failing because of the task is not able to Start…
CKS
  • 497
  • 3
  • 9
  • 16
1
vote
2 answers

Nunit3TestAdapter and TFS Build vNext: Getting a warning: Dependent Assembly nunit.framework not found within VS Test step

I've been scouring various Nunit articles for the past several days trying to figure out the issue with why my Nunit tests are not running. I am using TFS 2015 Build vNext engine and the Visual Studio Test step to execute my Nunit test cases. The VS…
4JTB
  • 66
  • 8
1
vote
1 answer

Why Microsoft Ajax Minifier doesn't generate mini file with Team build 2010?

I just used the wonderful tool Microsoft Ajax Minifier and it's working very well when I build my MVC application on my machine but when I check-in in source control and started build by the Team Build 2010 it doesn't create the min files, for sure…
Mohamed.Radwan -MVP
  • 2,724
  • 2
  • 16
  • 24
1
vote
1 answer

Setting secret variables in TFS 2015 Team Services Build via the REST API

I'm in the process of automating the setup of git repositories for a client. This involves setting up build template definitions in TFS 2015. I've chosen to store the configuration of these templates in a separate repository along with many other…
Spikeh
  • 3,540
  • 4
  • 24
  • 49
1
vote
1 answer

How to apply the build number format to shelveset builds in tfs?

I have a TFS build definition with the Process > Basic > Build Number Format parameter set to 1.1.2-alpha$(Rev:.r) This works fine whenever I build from the 'Latest Sources' and the build agent applies the correct version number (1.1.2-alpha1 and…
reggaemahn
  • 6,272
  • 6
  • 34
  • 59
1
vote
1 answer

TFS Build failed - error TF214007

Since we had moved TFS Application Tier to a different server the TFS builds have stopped working. Whenever I try to start a build it fails with the following error: TF215097: An error occurred while initializing a build for build definition…
Anton
  • 2,458
  • 2
  • 18
  • 30
1
vote
1 answer

TFS 2015 Publish attachment to Test Run Summary

Is there a possibility to add a custom file (e.g. custom Selenium report for all tests) into the body of Run summary itself (Runs -> Run Summary -> Attachments). Tests are executed using the vNext "Run Functional Tests" task, the unit framework…
angavr
  • 33
  • 6
1
vote
1 answer

How can I integrate output from a Cake build into a TFS 2013 build?

We're using cake for defining our .NET builds, primarily so we can run the same build on developer stations as on the build server. TFS 2013 is our actual CI platform; the build workflow is effectively just a RunScript activity which invokes…
STW
  • 44,917
  • 17
  • 105
  • 161
1
vote
1 answer

Tfs vNext, Restore Nuget packages build step, how to configure multiple sources?

I have a Restore Nuget packages build step as part of my vNext (onsite premises TFS 2015) build. This step allows you to configure Nuget arguments. Here I have configured the source to pull from a local network share, where we store internal Nuget…
JL.
  • 78,954
  • 126
  • 311
  • 459
1
vote
1 answer

Building and running a docker image from TFS builds

I have a dockerfile which builds an ubuntu image with my latest source code and compiles it. My docker-machine is called default and runs under user xyz on a windows machine. If I am logged in as user xyz and run buildscript.bat (which sets up the…
Cola
  • 2,097
  • 4
  • 24
  • 30
1
vote
2 answers

Analyzing Code Coverage on code using Fakes fail during TFS build

I am having some problems after enabling Code Coverage during our TFS builds. The solution under test contain three test projects and out of 209 tests three tests fail (one in one project and two in another), with the following error: Test method…
Tore Østergaard
  • 4,362
  • 3
  • 27
  • 43