Questions tagged [azure-devops-self-hosted-agent]
291 questions
0
votes
0 answers
Containerized Windows build agents not starting up on AKS
I am trying to host a private windows build agent on AKS. I am using the dockerfile and start.ps1 script given in the official Microsoft documentation Run a self-hosted agent in Docker
When i deploy the container on to our AKS client I get…
0
votes
1 answer
How to set environment variables on local azure build agent
I have a Windows 10 box where I'm running my own Azure Build Agent that I've installed
I set some environment variables on said box, using setx commands, like this:
I then rebooted the whole box to ensure whatever process I am launching (visual…

bkwdesign
- 1,953
- 2
- 28
- 50
0
votes
1 answer
Azure Powershell: Unable to find environment with name 'AzureCloud' on self-hosted azure devops agent
I have suddenly started getting this error on some of the agents that are installed on my Agent Pool. All of them are on the same Virtual Machine:
2022-06-13T11:07:24.5665998Z ##[command]"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile…

paddingtonMike
- 1,441
- 1
- 21
- 37
0
votes
1 answer
Does the self-hosted agent retain installations made via pipeline?
I am using self hosted and microsoft hosted agent to run the pipeline.
One of the pipeline steps is to install certain python packages on the agent so that the project unit tests can be then executed.
Does the agent retain the installed packages or…

variable
- 8,262
- 9
- 95
- 215
0
votes
2 answers
How to make and control of parallel execution of Azure DevOps Pipeline?
I am using Windows Self hosted agent for my Azure DevOps pipelines. Currently the pipelines are executed sequentially. If more than one pipelines triggered from different ADO projects, then it has to wait in queue to get the agent. In order to…

VKD
- 633
- 2
- 12
- 28
0
votes
0 answers
Self-hosted Devops Agent unable to connect to KeyVault under Firewall policies
We have a self-hosted agent within a Devops VM Scale Set ["VMSS"] (Hosted in azure).
This VMSS is tied to a VNET (VNET1), and we have separate webapps, sql etc connected via VNET2.
In the middle of these, there is a Keyvault with Firewall/Network…

Stuart.Sklinar
- 3,683
- 4
- 35
- 89
0
votes
1 answer
Unable to Pass Selenium tests within Azure Pipeline
I am trying to build out UI test cases in our CI/CD build pipeline within Azure Devops and I can't seem to workaround a basic use case where we route to one of our internal web pages landing screen, and verify a Div with a Selector exists.
…

Robin
- 13
- 3
0
votes
1 answer
Azure DevOps Pipelines - how agents in an agent pool are selected for running jobs
I have the following question on how jobs are scheduled onto agents in an Agent pool.
AzDO Job Scheduling on Agents
This pertains to HOW the AzDO pipeline decides to pick which of the agents from the pool to run jobs.
The expectation is that jobs…

Girish Pillai
- 77
- 2
- 9
0
votes
1 answer
Running multiple jobs for pipeline on Azure DevOps Self-Hosted Agent
I encountered an error which I was fighting for a few days already, without success. I have a multistage pipeline written for Azure DevOps and Self-Hosted agent, is it possible to run multiple concurrent runs, for different branches on a different…

Michal
- 71
- 1
- 1
- 3
0
votes
2 answers
How to use variable from variable group in conditional insertion expression in Azure DevOps pipeline
My aim is to use a variable group to hold global configuration settings which apply to all pipelines. Specifically, I want the ability to flip a switch in a variable value to switch from using hosted build agents to using private build agents…

ASH
- 573
- 2
- 7
- 20
0
votes
2 answers
Azure self hosted windows agent, What is the {tool files} in Use Python Version configuration?
UPDATE:
Now that I tried the solution from the answers to try
python -m ensurepip
python -m pip install --upgrade pip
pip install tox poetry
I realize that the self-hosted windows agent apparently did not even have the python. I followed this…

Ramanathan Varadharajan
- 167
- 9
0
votes
1 answer
Data transfer from on prem to azure synapse database with out using ADF
Can we move data from onprem sql server to azure synapse with out using a azure data factory?
My main intention behind this is not to have intermediate storage of data in blob or storage container. the bulk insert works in ADF but do we have any…

c.malcolm Richard
- 21
- 2
0
votes
1 answer
Pipelines Randomly Failing on Azure pipelines when using Self Hosted Microsoft Agent
I have been using Azure pipelines for many years. Recently I switched to using from azure Microsoft Hosted Agents to Self hosted Agent which are running in a VMSS.
Since switching, I have noticed MANY builds fail because of an error like below. This…

Michele
- 148
- 1
- 2
- 11
0
votes
1 answer
Docker image for AzureDevops self hosted agents for build .NET5 WPF Apps
My goal is to connect multiple docker agents in AzureDevops to build my apps.
What I need is:
dotnet build (for .NET5 WPF applications)
dotnet test
publish artifacts
Is there a Docker Image with AzureDevops connection service with preinstalled…

Franz Peter Tebartz van Elst
- 1,609
- 3
- 10
- 26
0
votes
1 answer
AzureDevOps onPremise, Workspacemapping really slow
We are using the onPremise version of the DevOps Server 2019 (curently update 1) with self-hosted agents (agents have the last version available from gitHub) in combination with TFVC (2019).
The devOps server is running in a virtual machine and the…

Dom84
- 852
- 7
- 20