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

Azure Devops Connectivity\build agent issues post IIS Website URL change

We are using Azure Devops 2019 (App and data tiers are on different servers),We have done a domain migration due to which we had to change Devops URL from https:\Devops.OldDomain.com to https:\Devops.NewDomain.com Below are the steps…
Venkat
  • 140
  • 12
0
votes
2 answers

Self hosted Build Agent taking too much time to run Job successfully

Our self-hosted build agent fails on publishing the test results to Azure DevOps (MS Cloud, not on-premise) sometimes. We configured the agent according to the documentation on…
0
votes
1 answer

How can i specify which git executable an Azure DevOps build agent uses

I have a git authentication problem on Azure DevOps build agent for some unknown reason authentication only works with the MacPorts version of git: >/usr/bin/git clone --config "http.sslVerify=false" "https://…:…@…/DefaultCollection/…/_git/…"…
Martin
  • 11,577
  • 16
  • 80
  • 110
0
votes
1 answer

Unauthorized tab under Agents missing- Team City

In just installed a build agent and configured it with required parameters. Logged onto the dashboard and under Agents, I do not see Unauthorized tab and so not see any indication of the new build agent I configured. I started the agent and it is…
Rudra
  • 41
  • 5
0
votes
1 answer

Consuming Package From Private Azure Artifacts In Azure DevOps Server

I am using Azure DevOps On-Prem (Version Dev17.M153.3) and I have 2 projects. Let's say the first one is 'A' and the second one is 'B' PS: I am using my own build agent. A project doesn't have any dependency. B project depends on A project. I made…
0
votes
1 answer

How to install a TFS 2017 agent on Windows Server using Powershell Script?

I am trying to install the VSTS build agent on a Windows Server 2016 using the below Powershell script but the script fails with the below error. $tfsUrl=”http://vwmaztfsapp:8080/tfs/Collection” $pool = ”Cli Execution” $username =…
0
votes
1 answer

TeamCity BuildAgent does not see the network drive

I want to copy the file to a network drive using build agent (powershell or cmd (Build Steps)). P: # or cd P:\foolder\ # ... But the commands don't work. Build log: "Disk P not found". The disk is connected via windows. When running from windows,…
Zempik
  • 87
  • 1
  • 9
0
votes
1 answer

'Can not determine workspaces' error -> Azure DevOps Services and Build Agent on VM

I'm trying to set Build Server machine in way that Build Agent is configured on it, and is targeting Azure DevOps Service (Cloud) collection, or organization as it is named like that for now. There is established connection but problem that I'm…
Nenad
  • 3
  • 3
0
votes
2 answers

Docker build in azure -> large diff on identical codebase due to COPY node_modules. Local run gives no diff

I have an Azure Devops pipeline which builds docker images which will be runned on different IoT-Edge devices. The devices have very bad internet connection, therefor small docker diff size is crucial. The codebase consist of a typescript nodejs…
0
votes
2 answers

Azure DevOps Server 2019 (on-premises): Can agent jobs be run serially?

I have a scenario where I would like a build to start running on one agent (Job 1), and then after doing some work, I'd like it to run a step on a special agent (pool) of machines with specially licensed software. (Job 2). When that is done I'd…
SteveSims
  • 535
  • 6
  • 19
0
votes
1 answer

TFS build agent "Delete Files" task clean up output folder before publishing

How can I delete files from the output folder in TFS? Directly after the "Build solution" task I added a "Delete Files" task with Source…
Andreas Reiff
  • 7,961
  • 10
  • 50
  • 104
0
votes
2 answers

In Azure DevOps or Team City what is a build agent?

I'm fresh in the area of CD/CI and I need to implement it in an old project from my company. From what I have read we have a couple of options like Azure DevOps or Team City, I chose these two options because most of our projects are built in…
0
votes
0 answers

TFS Build server unable to communicate with controller for load testing

What steps can I take to test the connectivity of a controller? How can I ensure that my tfs build server is able to communicate with a controller in order to perform a load test? My company is trying to automate load testing, and to accomplish this…
0
votes
3 answers

I have a build agent on my personal machine. Can I configure the agent capabilities to only build builds initiated by me and not other developers

I only want the agent I installed on my machine to build when I initiated the build. Not sure how to set up the agent capabilities. I want the agent to only run when I initiated the build.
user5208051
0
votes
1 answer

How to use custom build agent in Azure DevOps

I have created a custom build agent in Azure DevOps. I can view the agent in agent pool, but there is no option to select the agent when queuing the build. I want to run the build using that custom build agent. So please guide me on how to…
Raja Kondla
  • 278
  • 3
  • 11