Questions tagged [azure-devops-self-hosted-agent]
291 questions
5
votes
1 answer
Where are the VSTS logs on a self hosted Azure DevOps build agent
Are the logs stored locally on a self-hosted build where the agent is running?
When I bring up the UI for builds status of a running build it often is just stuck at Waiting for Console output.....
It would be nice to be able to go to the build…

dean
- 81
- 1
- 6
4
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…

Sivakumar Kayaroganam
- 300
- 4
- 18
4
votes
3 answers
In an Azure DevOps release pipeline how do you deploy to multiple VMs a deployment group with different target folders
I started out with a release pipeline setup in azure DevOps to deploy a windows service to a deployment group which had only a single VM with an agent set up. I have a variable set in the pipeline for the deployment folder.
I'm now trying to expand…

Twisted
- 2,939
- 4
- 32
- 54
4
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…

Shehan Weerasooriya
- 768
- 2
- 6
- 23
4
votes
1 answer
How to execute pipeline on self-hosted build agent as non-root user
I have built self-hosted ubuntu agents running in docker.
All works fine, build agent is working etc.
except everything in pipeline steps is being executed as root instead of non-root user.
E.g. When I try to execute "npm ci" and I look at my…

novak100
- 1,259
- 1
- 12
- 20
4
votes
0 answers
Multi jobs failing SonarQube analysis and MsBuild in Azure DevOps build pipeline
in an Azure DevOps build pipeline, I would like to run a MsBuild task in an Azure hosted agent and a sonar analysis task in a self-hosted agent.
I understand that I need to pass artifacts from a job to another. I try to use Publish and Download…

Marc Bouvier
- 642
- 1
- 11
- 27
4
votes
1 answer
Running maintenance on self-hosted Azure DevOps agents
I have several self-hosted Azure DevOps agents (each installed on a dedicated on-prem server) and I need to perform reoccurring maintenance on them (i.e. patching, etc.). Is there's a good way to define those maintenance windows within Azure DevOps…

Ivan
- 43
- 1
- 4
4
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 .…

Joy
- 6,438
- 8
- 44
- 75
3
votes
1 answer
Is there a way to name the azure agent working folders
When you set up an azure devops agent on a build machine, it will have a working folder (by default _work) where it will create subfolders for each pipeline that it has to run.
These folders have integer names like "80" or "29". This makes it hard…

Haroon
- 103
- 1
- 9
3
votes
3 answers
How to change the agent build directory?
My Azure DevOps pipeline currently creates the path "C:\Agent-xyz_work\23\s..." for keeping the build output that will be used in the sub-project builds. Is there a way to set the build folder as just "C:" or "C:\w" etc? I need this because there is…

Arun Prakash Nagendran
- 411
- 4
- 18
3
votes
2 answers
How to keep agent's temp folder in order to invoke command from Azure DevOps release pipeline manually
I want to troubleshot a single step from Azure DevOps release pipeline (classic mode).
The step invokes similar command on deployment VM:
C:\azagent\A1\_work\_tool\VsTest\17.0.0\x64\tools\net451\Common7\IDE\Extensions\TestPlatform\vstest.console.exe…

Liero
- 25,216
- 29
- 151
- 297
3
votes
1 answer
Multiple workspaces on self-hosted agent
This is not a problem or bug or issue. It's just something I noticed and want to know more about. I have checked the official documentation and the Web.
I have a self-hosted agent on Azure DevOps. Because of the pipeline development work I'm doing,…

Ray Depew
- 573
- 1
- 9
- 22
3
votes
2 answers
Git Submodule update on pipelines with hosted agent
I have a self hosted agent and have a git repository with submodules. URLs in .gitmodules are http://
When I try to initialize a job it fails to update submodules.
git submodule sync
git submodule update --init --force
Cloning into…

forvaidya
- 3,041
- 3
- 26
- 33
3
votes
2 answers
Can I run Xamarin UITests on windows self hosted agent and azure pipelines?
I have a hard time finding in docs if I can run the Xamarin UITests on self-hosted windows agent and Azure DevOps build pipelines..
Thanks

David Petric
- 324
- 3
- 17
3
votes
2 answers
Method to check self hosted agent running status on azure
I have two questions.
Is there any method to check self hosted agent on Azure VM is busy in running azure pipeline.
and if there is any method available then can we shift that Azure pipeline from self hosted agent to Microsoft Hosted Agent, so that…

Tabrez Shams
- 103
- 2
- 7