Questions tagged [azure-devops-self-hosted-agent]

185 questions
3
votes
1 answer

VSTS Agent cannot overwrite nor remove the DLL when used by IIS

VSTS agent for AZure devOPS is not able to remove or overwrite the file when a URL has been invoked . However when the IIS worker process is killed and the Release is redeployed it is working fine . I have enabled both overwrite and clean option .…
3
votes
1 answer

ADB RSA key fingerprint changes on Azure DevOps (vsts) self hosted agent

I have a VSTS/Azure DevOps self hosted agent running as a service on a machine with an Android device attached via USB that I'd like to use with ADB. During the build a Command Line task invokes an ADB command. I'm having an issue where the device…
Adam
  • 1,214
  • 1
  • 15
  • 23
2
votes
1 answer

Azure DevOps Self hosted agent error connectivity issues

We are using Azure DevOps Self hosted agents to build and release our application. Often we are seeing below error and recovering automatically. Does anyone know what is this error ,how to tackle this and where to exactly check logs about the error…
2
votes
0 answers

Azure mac hosted agent : Acquiring an agent from the cloud: Request queue position information is unavailable

i just notices that even though i have a pool of 10 hosted agent in azure which are free and idle I'm waiting a long time to execute the build job and I see this msg for a long period of time: Acquiring an agent from the cloud: Request queue…
2
votes
1 answer

Azure DevOps hosted-agent failed to pull windows:2004

When using Windows-2019 hosted agent (Agent installed with 1809 windows version -Microsoft Windows Server 2019 Datacenter) as Agent Specification, We can't pull mcr.microsoft.com/windows:2004 docker image. Exception: I'm familiar with this solution…
Amit Baranes
  • 4,875
  • 2
  • 12
  • 35
2
votes
1 answer

Maximum number of self hosted agents per pool and Maximum pools per organization

While going through the documentation provided by Microsoft, it doesn't mention specifically how many self hosted agents can be in a single agent pool and how many agent pools can be in a single organization. So basically my questions are, How…
2
votes
1 answer

Azure DevOps agent running an application with a dialog box

I am trying to run National Instruments TestStand Sequence Analyzer as part of a build in Azure DevOps using a Python script. Agent is running as a service. import subprocess command = '"%teststand%\Bin\AnalyzerApp.exe" MyAnalyzerProject.tsaproj…
2
votes
0 answers

How do I fix an "ERROR_PROXY_GATEWAY" error while deploying with Azure App Service deployment in combination with -useCHECKSUM

I have setup a self hosted release agent for releasing my software to an Isolated App Service. If I deploy this using the Azure App Service deployment task (V4), this works just fine. I want to use the -useCHECKSUM option but this breaks the…
2
votes
1 answer

How do I reconfigure Azure DevOps agent on server (windows OS)?

Agent which was configured to run as service earlier needs to be reconfigured to run interactively. When I am trying to run agent's config.cmd as administrator to reconfigure the agent then a blank window in command prompt opens and gets closed by…
2
votes
1 answer

msbuild GenerateDepsFile fails

All my projects are not failing to build on my Azure DevOps MacOS build host. It's a self-hosted build host. Suddenly, my projects are throwing this error when trying to build: error MSB4018: The "GenerateDepsFile" task failed unexpectedly. error…
Inrego
  • 1,393
  • 13
  • 25
2
votes
1 answer

Azure pipeline - Convert .coverage to xml to generate code coverage report

I'm trying to generate a code coverage report using the build pipeline for the C# unit tests (MSTest2). Report can be generated using the Reportgenerator.exe but expects .xml file as the input. I have added the Visual Studio test task which has…
2
votes
2 answers

Error when trying to set pipeline pool to Default agent pool using azure-pipelines.yml

I followed the documentation for setting pool via Pipelines Schema Docs and set it as such pool: Default. This should direct pipelines to use the Default pool: However, I keep getting this error: Could not find a pool with name Default. The pool…
2
votes
0 answers

Powershell module not visible when executing script from devops

I wrote a PowerShell script that uses the ReportingServicesTools to deploy reports to a PowerBI Report Server after a project build has terminated. When logging onto the server as myself and executing the script the module is imported successfully…
2
votes
1 answer

Why are there no files in my release artifacts directory?

I created a .netcore 2.1 api project and set up Azure DevOps to deploy it to an On-Prem computer using the Windows Agent. The folder agent_work\r1\a was created on the machine running the agent, however there are no files in it. I can see that a…
Kirsten Greed
  • 11,170
  • 26
  • 117
  • 234
1
vote
1 answer

Azure Dev Ops Pipeline 'This task is no longer installed.' Error

I was trying to fix an issue with my build pipeline in Dev Ops, but for some, reason all the tasks on all the pipelines have been removed. I get the error 'This task is no longer installed' on all tasks. I have tried to revert the pipeline to the…
1
2
3
12 13