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
0
votes
1 answer

How to give full CPU power to VSTS build agent?

I've created a private agents pool on VSTS. Then downloaded the agent for linux, installed it on my Ubuntu 18.04 server and everything went fine. The only problem is that I'm noticing that it isn't using the fully potential of the CPU. I'd like to…
Caius
  • 2,084
  • 6
  • 31
  • 47
0
votes
0 answers

How to grant a TFS build agent access rights to TFS REST API?

I am following this question Are TFS Build Agent User Capabilities' Values Obtainable Within Build Steps? , specifically Seva's answer, with direct REST API requests: $tfsUrl = $env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI $token =…
altxt
  • 1
  • 2
0
votes
1 answer

Unable to obtain an authenticated token for running job __default with plan type Build and identifier Project Collection Build Service

I am getting the below error when build is triggered, any hints on this? Unable to obtain an authenticated token for running job __default with plan type Build and identifier Project Collection Build Service.
Hemanth Bidare
  • 623
  • 1
  • 7
  • 15
0
votes
0 answers

TFS build agent on Azure VM very slow

I have a TFS build agent installed on Azure VM. I have a build definition that build micro service project with .net core, its a normal definition that restore, build than publish the project. The build take around 22 min and the console show that…
0
votes
1 answer

VSTSNuGetPush.exe Proxy Settings

I have installed and configured an on-premise VSTS agent behind a corporate firewall. At first, the Nuget tasks were failing with connection related errors, but I fixed this using the HTTP_PROXY and HTTPS_PROXY environment variables. However, the…
0
votes
1 answer

TFS Agent remove from powershell

My TFS just upgraded to 2017 and I didn't find old agent and system is not allowing me to create new agent unit I remove old one I executed following cmd for remove .\config.cmd then Enter authentication type (press enter for Integrated) > the click…
0
votes
1 answer

Unable to install the VSTS Agent Azure VM extension

I am unable to install the VSTS Agent Azure VM extension on an Azure VM. I tried both the Install extension blade in the Azure portal and the Powershell option. When I try from the portal it just gets stuck at transitioning. If I run the Powershell…
0
votes
1 answer

Accessing TFS Configuration Center after installation

I want to create Self-signed-certificate in TFS so that my build agent can connect to TFS (which it can't currently Err. "Basic authentication Requires a secure connection to server"). I have read that in order to create a self signed certificate…
0
votes
1 answer

TFS2015 build agent not working and returning unauthorized on log

My build agent isn't working correctly. The build agent is running on the same machine as the TFS. It does appear to connect successfully to the TFS server (it shows as ready on the server), but, when I start the build queue, it fails after 11…
0
votes
2 answers

How to change the build agent work location to other location from teamcity server

I invoked the bat from teamcity server. Below is the log. In the bat which has to change directory location to what I have mentioned in the cd. Starting:C:\AUTOEBCDeployment\Autodeploy.bat in directory: D:\ProgramData\JetBrains\TeamCity…
Ayesha
  • 37
  • 1
  • 11
0
votes
1 answer

TFS 2017 - BuildAgent in Queue is ignored

I have two BuildAgents in my Default queue. Both checkboxes for active are set, both are online and running and also shown as online and running. When I start a build on that queue, it is only sent to one Agent, never to the other. If I stop this…
Martini Bianco
  • 1,484
  • 1
  • 13
  • 23
0
votes
3 answers

VSTS buildagent: Java 9

I installed the latest java sdk (included jre) version 9.0.1 on my buildserver and restarted the agents. The agent does not seem to detect Java, the java-capabilities are missing and builds won't run because the java-capability is not set on the…
D.J.
  • 3,644
  • 2
  • 15
  • 22
0
votes
1 answer

What is required on a build agent for doing more than simply building the project?

Successfully building an MVC project using a basic build agent, meaning an agent created using only the TFS 'Agent Pools' download and setup process. From reading many SO posts and observation while trying to add Tasks to my Build Definition I have…
Alan
  • 1,587
  • 3
  • 23
  • 43
0
votes
1 answer

TFS agent have no permissions in a folder

I have a PowerShell script which needs to access a folder and to make stuff inside it (like deleting or renaming a subfolder). I think it crashes because my on-premises TFS agent is denied to access this folder in this remote machine. The error…
0
votes
1 answer

TFS 2017 prevent two build agents from restoring the same image with the SCVMM task

I have multiple images managed by SCVMM 2016. I have a build agent that starts and restore one of multiple images using SCVMM then deploys the testagent on this image and starts tests. At the end the Image will be shutdown. I want to add multiple…
lokimidgard
  • 1,039
  • 10
  • 26