Questions tagged [build-agent]

Automated Builds using the Team Foundation Server, executed on TFS build agents.

Questions related to TFS build agents, how to configure them, how to select them for builds.

184 questions
1
vote
1 answer

What TFS 2017 build task applies web.config transforms during TFS builds?

Some original info was changed to make the post more focused on the real issue after it was found. These are some of the details of the current environment. I listed these only because questions were raised in other posts to determine what was and…
Alan
  • 1,587
  • 3
  • 23
  • 43
1
vote
1 answer

TFS Build error - Cannot listen on pipe name 'xxx' because another pipe endpoint is already listening on that name

In TFS, i'm doing build for my .Net project. I've got agent configured locally and build is carried using that. Error says as follows Cannot listen on pipe name 'net.pipe://localhost/taskagent/6/xxxxxx' because another pipe endpoint is already…
Shalem
  • 1,446
  • 2
  • 22
  • 47
1
vote
1 answer

How to monitor VSTS agent availability

We have multiple on-site build agents attached to our VSTS instance, and would like to implement monitor their availability. That is, not just that their services are running, but also that they can connect to VSTS, since we have had some issues…
1
vote
2 answers

Can we create multiple windows containers which can be used as VSTS build agents from individual Windows Server VM?

Problem: To reduce maintenance of overgrowing VM's which we are currently using as build agents in VSTS. Idea to resolve : We are thinking of using multiple docker windows containers created from indivdual windows server VM's as VSTS build…
1
vote
1 answer

How to access build folder number in TFS 2017

I typically tell TFS what folder to use via $(build.sourcesdirectory) which translates into C:\Builds\1\s . However, I need to repack the deployment zip, so I had to add Content\C_C\Builds\myproj\1\s to my CI. This isn't very good as the 1 can…
RandomUs1r
  • 4,010
  • 1
  • 24
  • 44
1
vote
2 answers

Visual Studio for Mac as VSTS build agent for iOS?

Visual Studio is the recommended tool (superseding Xamarin Studio) on both Windows and Mac. However, the VSTS page Build your Xamarin app says to use "Xamarin". Presumably that means Xamarin Studio, even though the the "Install Xamarin" link on the…
Edward Brey
  • 40,302
  • 20
  • 199
  • 253
1
vote
2 answers

Mac Build Agent no longer connecting/building

Worked fine for the last two months (after having manually installed Xamarin on the Mac because the VS/SSH install didn't work), something has broken. OS X and Xamarin were both updated but I thought in minor ways. Guess that's the last time I take…
Eliot Gillum
  • 832
  • 9
  • 18
1
vote
0 answers

VS loadtest results are not written to the DB on build agent

I created a load test repository in my local machine SQL DB using loadtestresultsrepository.sql script. Then changed connection string from the default SQL Server Express local db to the one I wanted to store the test results using Manage Test…
1
vote
1 answer

Cannot configure a TFS build agent with Powershell ISE

After downloading the vNext build agent from VSTS page or from on-premises TFS, I followed the steps to configure agent in Powershell ISE. Upon running .\config.cmd, there is a display of >> Connect: There is no other prompt further to proceed with…
1
vote
1 answer

TFS 2015 build agent

We have a build server running the new TFS 2015 build agent in an agent pool. I have looked and cannot find a way to 'increase' the number of consecutive builds to run. Basically, I would like to have our build server be able to build two different…
Jason H
  • 4,996
  • 6
  • 27
  • 49
1
vote
1 answer

How to run Selenium Test across a set of machines using Run Functional Test build step in TFS build setup

I have close to 7000 test cases (using MSTest Framework) and have categorized into say category A, B, C, D, E,F,G . Each of the category has 1000 test cases. I have 7 VMs and planning to deploy and run the test in all seven machines. I am quite…
Timothy Rajan
  • 1,947
  • 8
  • 38
  • 62
1
vote
1 answer

Atlassian Bamboo - Build Agent IP as variable?

Within an Atlassian Bamboo, is it possible to get hold of the IP address (or DNS name) of the build agent a task is currently being executed on? It's the intention to use this to execute functional tests from another machine using grunt and…
CT_
  • 11
  • 2
1
vote
2 answers

How do I start up more than one TeamCity build agent on mac?

I've been looking at the instructions from jetbrains on how to install and setup build agents on mac. But it's only for one build agent, not multiple. There's this .plist file looking like this:
peuhse
  • 1,688
  • 2
  • 20
  • 32
1
vote
0 answers

TFS Build Hangs When Agent Working Directory Is Set To "$(SystemDrive)"

Our TFS 2013 Server is running on Windows Server 2008 R2 x64 on Oracle Virtual Box 4.3. I set the "Working Directory:" of the Build Agent to "$SystemDrive" as shown below. After that any build from client machine is getting hanged for ever. Also,…
MNS
  • 1,354
  • 15
  • 26
1
vote
1 answer

Team city Build agents

We have 2 team city build agents at the moment and we are trying to configure them to run different tests only. So when running integration tests I want it to use only Agent1 for example. And all other tests are run on Agent2 except for integration…
sparky971
  • 57
  • 1
  • 9