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
58
votes
8 answers

Nuget restore fails on Azure Devops with message "unable to load the service index for source"

I have a build for a .NET solution that is running in a private agent. The solution contains both .NET Core 2.1 and .NET Standard 2.0 projects. Some of the nuget packages installed are the following: NETStandard.Library…
Rui Jarimba
  • 11,166
  • 11
  • 56
  • 86
36
votes
1 answer

TeamCity - multiple agents on ONE MACHINE? Possible?

Coming "from" TFS and using TeamCity in a customer project.... ...is there a way to install multiple agent instances on one computer? I could easily do that with TFS. The reason is that we have build scripts that are linear in execution for some…
TomTom
  • 61,059
  • 10
  • 88
  • 148
23
votes
3 answers

Installing Teamcity build agent as a user: failed to install the service. selected account does not have enough rights

I want to install a TeamCity BuildAgend as a user. When entering my user credentials here: I always get this error: NOTE: My account (user) is Administrator with full permission! How can I do this?
A-Sharabiani
  • 17,750
  • 17
  • 113
  • 128
19
votes
2 answers

TeamCity build agent becomes disconnected after adding self-signed https certificate to teamcity

I added a self-signed certificate to my Teamcity BuildServer to introduce https support so that it can now be accessed at https://ServerUrl:8443 (More details about how here ) The result was that I was able access the server via https, but my…
Rune Vejen Petersen
  • 3,201
  • 2
  • 30
  • 46
16
votes
2 answers

how to stop "cannot stop" builds on TeamCity

I get "cannot stop" status once in a while after trying to stop builds on TeamCity. I would expect that killing my build process on build agent would do the trick, but it doesn't work. Stopping TeamCity agent process on the build machine doesn't…
Paulius Liekis
  • 1,676
  • 3
  • 18
  • 26
11
votes
3 answers

How to setup team city agent on mac?

I do not know the steps to setup TeamCity agent on mac so if anybody did it. Please share your experience.
Kushal Sharma
  • 220
  • 1
  • 2
  • 10
10
votes
4 answers

Visual Studio 2017 build agent fails to build with error cs0400

I've installed the VS 2017 Build agent and registered it in the 'Default' agent queue. The project I'm trying to build is a VS 2017 class library project, targeting .Net Standard 1.0. When building from Visual Studio, build succeeds. However the…
Artak
  • 2,819
  • 20
  • 31
9
votes
1 answer

on-premises build agent is failing to build solution with projects on .net 4.7.1

We have recently upgraded some projects to .net framework 4.7.1 but our on premise build agent is failed to run the build solution build step. We are using Visual Studio Team Services. The full error is... C:\Program Files (x86)\Microsoft Visual…
Konzy262
  • 2,747
  • 6
  • 42
  • 71
8
votes
1 answer

What is the purpose of Binaries\_PublishedWebsites directory under TFS build

TFS generates a publish directory under the build agent working directory: Z:\TFSBuilds\1\box\CT\Binaries\\_PublishedWebsites I am supposing that this is where TFS is automatically publishing the site. How can I use it for auto publishing of…
sam
  • 4,594
  • 12
  • 61
  • 111
8
votes
2 answers

Is it possible to upgrade to a higher performing Microsoft-hosted build agent on Azure DevOps?

My dev team is using Azure Devops' Microsoft hosted build agent, but would like to have a higher performing build agent. The current build time for us is sometimes taking more than 5 mins which is not desirable. We would prefer not to go…
8
votes
5 answers

TRACKER : error TRK0002: Failed to execute command

I got this error while trying to build my project on a buildAgent running as a service, does anyone have a solution for it? TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio…
Daniel
  • 174
  • 1
  • 6
7
votes
1 answer

How to update a system capability in a build agent in vsts?

I want to upgrade 'java_home' capability in my build agent to jdk8 as this is required to integrate 'Sonarqube Analysis' in my CI build . How can I update the same in vsts ? I would like to either change the path for java_home (but that seems…
Raq
  • 433
  • 1
  • 7
  • 20
7
votes
2 answers

dotnet restore failing - Unable to load the service index for source [package name]

I have a build in VSTS which is failing with the following error: error : Unable to load the service index for source [source name] 2018-02-28T09:04:12.1080070Z /usr/share/dotnet/sdk/1.1.4/NuGet.targets(102,5) error : Response status code does…
7
votes
2 answers

TFS build/release agents "update all agents" is not updating the agents for TFS on-prem 2017

For on-prem TFS 2017 when I try to update all agents in the agent pools, the update does not happen. I see the same old agent version. Build servers typically do not have internet connectivity. Is internet connectivity a pre-requisite for updating…
7
votes
1 answer

Azure hosted agents - Visual Studio 2017

I set up a hosted agent in Azure to do a CI build but I'm getting the following warning during the Visual Studio build step before the build fails: "Visual Studio version '15.0' not found. Looking for the latest version." Looking at the…
Calum
  • 1,889
  • 2
  • 18
  • 36
1
2 3
12 13