Questions tagged [azure-devops-self-hosted-agent]
291 questions
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…

Jurkstas
- 153
- 7
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…

Bart
- 21
- 1
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,524
- 1
- 15
- 25
2
votes
1 answer
How to change user account for a pipeline running in Azure Pipelines
We are setting up in Azure Pipelines a new pipeline which performs a git commit to an Azure DevOps repository. The pipeline is executed by a Windows self-hosted agent. Agent is already registered using a token from a user with administrative…

Jose Antonio
- 451
- 2
- 7
- 24
2
votes
0 answers
Error while configuring Self-hosted ARM agent for Azure DevOps
I'm trying to create a Self-hosted agent for ARM, following this microsoft tutorial: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops
I downloaded the agent, extract it. But when I run ./config.sh I got the…

iAmoric
- 1,787
- 3
- 31
- 64
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…

GettingItDone
- 523
- 8
- 26
2
votes
1 answer
Azure Devops - Multiple repositories
I have code in two github repositories that I would like to build and run in the same build pipeline.
Does anybody know if it's possible to clone/pull more than one repo during the 'get sources' step?

darren25
- 275
- 1
- 5
- 16
2
votes
1 answer
Problem with build agent demands not validated for android build
I've included my own machine as DevOps Build Agent. This machine can build Android Apps without problems. But still it complains about demands not met:
java
JDK
AndroidSDK
vstest
Agent.Version -gtVersion 2.116.0
I installed the latest Java…

Atle S
- 259
- 6
- 13
2
votes
1 answer
How to get a Drift Report from Azure DevOps DACPAC deployment?
I would like to get a Drift-Report (and Deploy-Report and TSQL-script) during our DACPAC deployments.
We are running DACPAC deployment in Azure DevOps to on-prem SQL server, using the agent task "WinRM - SQL Server DB deployment".
This task is…

Martin Thøgersen
- 1,538
- 18
- 33
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
- 15,730
- 41
- 179
- 318
2
votes
1 answer
Why doesn't VSTS build agent download actual Git LFS file but only metadata?
I'm trying to get a newly configured VSTS private build agent download files stored in Git LFS, but it only seems to download the metadata for each file, with file contents ending up like this:
version https://git-lfs.github.com/spec/v1
oid…

Morten Grøtan
- 103
- 2
- 10
1
vote
0 answers
Install container engine on build-server on the fly
We use the Azure DevOps build pipelines. In one pipeline we now want to add a build-step to build a container-image with something like Docker@2 or similar. As a preparation for this we have also added a previous DockerInstaller@0-step so that…

anion
- 1,516
- 1
- 21
- 35
1
vote
1 answer
Azure DevOps pipelines - how to execute a whole template stage in a docker container by a self-hosted agent
I have a multi stage Azure DevOps pipeline in yaml. Each stage includes multiple jobs. The pipeline runs properly by using Azure-hosted agents. I need to run it by our company's self-hosted agent. The self-hosted agent is a virtual machine scale set…

E. Erfan
- 1,239
- 19
- 37
1
vote
1 answer
Scaledown is not happening for KEDA with AzureAKS
We are using KEDA for autoscaling our AzureDevops agent in AKS cluster. We used scaledJob object for scaling purpose as SclaedObject deployment was showing unexpected behaviors while executing pipelines and was getting scaled down even when…

Vowneee
- 956
- 10
- 33
1
vote
1 answer
How to automatically restart a Docker container with/from a clean image?
I'm working on introducing build agents in docker container and starting them currently with the following command:
docker run -d --restart=unless-stopped --cpus="4" -m="8g" --name "${AZP_AGENT_NAME}${i}" -e AZP_URL="$AZP_URL" -e…

ochsenbouillon
- 13
- 3