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

How to find out Azure DevOps Services pipeline demand / capability requirements to select some specific agent? (implicit and explicit demands)

I have a simple yaml pipeline file as follows: stages: - stage: build_xm2simu displayName: This is the build stage of the XM Simu project # dependsOn: string | [ string ] # condition: string jobs: - job: linux_dotnet_build …
minus one
  • 642
  • 1
  • 7
  • 28
1
vote
2 answers

azure devops - managing personal access tokens

Can personal access tokens in Azure DevOps be "shared" tokens that can be managed by a group of users, such as a security admin group? By managed I mean: create, revoke, edit, regenerate. I want to avoid a situation where we have "build" or…
Korey
  • 929
  • 1
  • 7
  • 14
1
vote
1 answer

How to trigger one task present in Release Definition on multiple servers in Agent Phase?

I am using TFS 2017 update 3, In TFS 2017, I have a Release Definition in which i have a command line task thorugh which I call the cli of an automation application by passing it an arguments like below "C:\Program Files…
SRP
  • 999
  • 4
  • 21
  • 39
1
vote
0 answers

Powershell command to tell if TeamCity Build Agents are running?

We have a server that has TeamCity installed. Is there any way to run a powershell command from that server to tell if the BuildAgents are currently all Idle? Basically, we have acceptance tests that aren't tearing down geckodriver and firefox…
Kellen Stuart
  • 7,775
  • 7
  • 59
  • 82
1
vote
0 answers

Azure Pipeline Agent fails to use Proxy with Curl Error: CURLE_RECV_ERROR

When attempting to configure the agent on a RHEL7 machine via a proxy using ./config.sh --proxyurl , it gets stuck after prompting for Server URL and PAT. Upon looking at the logs in the _diag folder, it looks like it is configured to…
1
vote
1 answer

How not to lose parallel testing with tfs build and keep build agents work

I'm setting up a TFS testing build and want to support full parallel testing. Only some of our tests run in parallel and therefore after they finished running on the build agent - the build agent do not getting new tests to test. Therefore, a build…
1
vote
0 answers

How to authenticate Docker with VSTS?

With a self-hosted agent, I m getting following error at the end of VSTS build pipeline. 2018-10-04T12:11:10.3334402Z ##[error]unauthorized: authentication required 2018-10-04T12:11:10.3447576Z ##[error]/snap/bin/docker failed with return code:…
ludgo
  • 465
  • 1
  • 6
  • 13
1
vote
1 answer

Chrome Headless fails on CI when running build-agent as a service

I have an angular (5) project running jasmine unit-tests using karma & chrome headless. This works fine locally but fails on our VSTS CI server (Custom Windows 10 VM with node & chrome [69] installed). The build-agent installed on the VSTS VM runs…
1
vote
1 answer

Android build failing on Azure DevOps(VSTS) build agent with Error APT0000: Error retrieving parent for item

We have a Xamarin.Android apps built using Xamarin Forms and shared code (.NET Standard 2.0) and trying to build it on our build server where it continuously failing with following errors: Mobile.Android\Resources\values\styles.xml(2,0): Error…
1
vote
1 answer

TFS maintenance job - 2 agnets with different versions in same pool

I've configured the 2 build agents with the different version in single Agent pool to suit our developers. I've configured the Maintenance Job in order to keep disk clean. Everything works properly for Agent 2, but old work files on Agent 1 are not…
Danielson
  • 96
  • 9
1
vote
1 answer

TeamCity Build Agent Shows All Build Steps Incompatible

I've recently installed TeamCity 2017.2.3 (build 541047) and Octopus Deploy 2018.1.5 and originally was having success running builds and creating packages in TeamCity, but now my build agent shows all of my build steps as incompatible after a…
Gary James
  • 324
  • 3
  • 11
1
vote
1 answer

VSTS NuGet Tool Installer Fails - ERR:unable to verify the first certificate

I've configured a private build agent to use with VSTS. I installed MSBuild tools and installed the agent as a service. Now I'm trying to build a MVC 5 project with it. The build fails in the Use Nuget 4.3.0 task. After queueing a new build with…
1
vote
2 answers

TFS agent pool roles not able to add specific user

On our on-premise TFS 2017 update 2 I want to add an extra user to the Agent Pool role as an administrator. For some reason I can not find all users in the domain. In the image you can see that the user TFSBuild was added previously, but now when…
Remkop
  • 123
  • 7
1
vote
1 answer

Moved TFS change build agent

We moved our TFS on-premise to new servers, and now I have to change the build-agents (on Windows) so that they also link to the new server. Is there a more easy way to do this than to remove it and reconfigure it?
Remkop
  • 123
  • 7
1
vote
1 answer

How do I create a TFS2017 Build Task equivalent to Visual Studio's Web Deploy Publish method?

I am trying to complete Continuous Integration/Continuous Deployment automation for a web application project. I have been helped by a series of SO posts link1, link2, link3 and things are now running, except the upload to the hosting server is…
Alan
  • 1,587
  • 3
  • 23
  • 43