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
4
votes
2 answers

Are TFS Build Agent User Capabilities' Values Obtainable Within Build Steps?

I'm trying to write a build step within TFS that relies on knowing where the Build agent has nuget.exe stored (the standard nuget-install step mucks around with the order of arguments in a way that breaks build execution, so I want to run the exe…
Izzy
  • 1,764
  • 1
  • 17
  • 31
4
votes
1 answer

VS30063: You are not authorized to access https://xxxxx-tfs

I'm getting following error when try to configure the build agent. Following is the commands I used, Please advice how to resolve this. C:\agent>config >> Connect: Enter server URL > https://xxxx-tfs-1 Enter authentication type (press enter for…
4
votes
3 answers

Build Agent is Offline

I m using TFS 2015, I saw that my build Agent is Offline : I launch the VsoWorker.exe to see the logs and understand the error, Here is what I get but I found nothing from the internet : Any Idea please ? 16:07:57.649004 Sending trace output to log…
fandro
  • 4,833
  • 7
  • 41
  • 62
4
votes
1 answer

Jenkins Windows slave: Authentication failed if running as service

I have a Jenkins slave running on Windows 10 (1607). If I run the slave direct as JNLP this slave can clone from the git repository (authentification with username and password). If I start the same slave as a service, git clone fails with…
WebDucer
  • 1,114
  • 2
  • 16
  • 39
4
votes
1 answer

TFS 2015 Determine which build agent is running the build

Scenario: I have created an Agent pool and added/configured 2 build agent in it, which are installed on two different machines. I have also enabled continuous integration. When many developers check in the code, it triggers the build that I have…
Aditya Bokade
  • 1,708
  • 1
  • 28
  • 45
4
votes
2 answers

TeamCity getting stuck at Initializing page

I'm using a Ubuntu 14.04 machine. I've downloaded TeamCity 8.1.5, unpacked the files and started it through sudo ./bin/runAll.sh start. But when I open the Teamcity page (localhost:8111) it gets stuck at "Initializing TeamCity server components"…
user3878296
  • 41
  • 1
  • 2
4
votes
0 answers

Unit Tests Missing on Remote Build Agent

I recently setup a full build with the default build agent in TeamCity. I set it up so that when I do my coverage analysis, NUnit will dump the results to an xml file. Then I have an additional Build Feature to import that xml report. The defualt…
Matthew Rhoden
  • 688
  • 1
  • 10
  • 20
3
votes
1 answer

How to update the Build Agent Manually in Azure DevOps 2020?

We have recently upgraded to Azure DevOps 2020 on our testing environment, previously we had TFS 2017 and then upgraded Azure DevOps 2019 and now to Azure DevOps 2020. I am facing issue regarding the agents I had configured in the earlier version.…
3
votes
1 answer

Teamcity - How to set credentials for package source

I am using TeamCity to build my .net application. One of the build step connects to a Nuget package repository and try to restore nuget packages. During this step, I am seeing returned an unexpected status code '401 Unauthorized error while system…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
3
votes
2 answers

Run TeamCity Build Step on a specific Agent

I've got TeamCity installed and working, and I need to have a build step run on a particular build agent (everything's running on Windows, but we have a Mac portion I need to build as well). How do I tell the build step what agent I want it to run…
Jerod Venema
  • 44,124
  • 5
  • 66
  • 109
3
votes
2 answers

Azure Devops (VSTS) - Start build agent as an administrator (interactive mode) in a console

is there any way to setup the VSTS build agent to run at windows startup in the interactive mode (as an admin)? Now I'm at the stage where I have installed and configured the agent to run in the interactive mode. So it is running in a console. In…
Chris4D
  • 167
  • 4
  • 12
3
votes
2 answers

Build agent is unable to download available workspaces

We recently upgraded TFS from TFS 2015 to TFS 2018. We changed build agent in our infrastructure to new agent version 2.122.1 When developers commit their changesets or planed build is executed, sometimes build is processed as expected, but…
Rudolf Dvoracek
  • 904
  • 2
  • 14
  • 30
3
votes
2 answers

Azure SDK not available on Hosted VS2017 VSTS Build Agent?

Our .Net projects are using VS 2017, and requires Azure Storage Emulator in Azure SDK to run unit tests. Our CI/CD is running in VSTS. We want to use some hosted build agent in VSTS agent pools. There are two issues we encountered. Firstly,…
Zhiliang
  • 172
  • 1
  • 11
3
votes
1 answer

TeamCity - 10.0.5 no compatible build agents

I'm wondering if someone could help me out with this issue please. First up the background, we've been using TeamCity for database deployments for a while. Today we upgraded to 10.0.5. All fine. The issue we have is with SQL 2016 database projects.…
user3060571
  • 103
  • 2
  • 7
3
votes
2 answers

Set environment variable from the build agent administration UI in TFS

In the administration area for TFS Build Agents, is it possible to set environment variables that will be used when running builds? Most of my searches for information on this turn up results on how to do the opposite - make use of an existing…
Tomas Aschan
  • 58,548
  • 56
  • 243
  • 402
1 2
3
12 13