Questions tagged [azure-devops-self-hosted-agent]
291 questions
0
votes
1 answer
New DotNet Core VSTS Agent in a Docker Container
Trying to create a self-hosted agent in Docker running dotnet core?
I created my Agent using the following
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops
The below seems like a pretty standard setup, How can…

R4nc1d
- 2,923
- 3
- 24
- 44
0
votes
1 answer
Visual Studio Test has Upload Test Attachments set to false but it uploads attachments regardless
The 'Visual Studio Test' task has an option named 'Upload test attachments', regardless of if this option is on or off for a release it is always uploading test attachments.
This is now occurring on two specific build agents in my agent pool and it…

jamesthetester
- 153
- 2
- 12
0
votes
1 answer
Why am I getting "Exit code 100 returned from process: file name 'tf'"
I'm using Azure DevOps (visualstudio.com) and trying to get a Linux Build Agent up and running on a local server. This was working previously, but I upgraded the Linux server from Ubuntu 16.04 to 18.04. That broke my previous build agent.
So I…

Dave
- 1,326
- 2
- 11
- 22
0
votes
1 answer
Azure Dev Ops Build Agent's builds and releases used
In Azure DevOps is it possible to see all of the builds and releases that are configured to use a particular agent pool? I can see the last 30 builds that have been associated with the agent but would like to see all the builds associated with the…

Ricky Keane
- 1,540
- 2
- 15
- 21
0
votes
1 answer
How to configure different versions of Ruby / any other software in self hosted agent?
I have installed 3 different versions of Ruby in self hosted agent but i am unable to use them in my vsts task as required. The microsoft document suggests configuring "Agent.ToolsDirectory" but i am not sure how to configure it in the self hosted…

Arghya
- 41
- 1
- 11
0
votes
1 answer
Azure Devops - PowerShell task on self-hosted agent
I have an Azure Devops deployment pipeline setup which is building and I am able to deploy to a self hosted virtual machine with no issue.
I have the following powershell script that correctly clears down my destination directory leaving 2 folders…

Pixelstiltskin
- 332
- 4
- 16
0
votes
1 answer
Multi-configuration Deployment Group Jobs with the Multipliers variable?
I'm trying to re-use a Deployment Group Job and execute it for each member of a ClientID list, but it is not working. The name of the stage will also be used in my tasks.
As described on this…

Terry Smith
- 13
- 1
0
votes
0 answers
Share artifacts between agents/phases/jobs in a build plan
I have a build plan, that consists of 4 phases. 1st phase builds the project. The next 3 phases wait for build to complete, then start in parallel, each on its own agents, running qa tests, each it's own test suite. The problem is copying the dll…

Razkar
- 539
- 5
- 26
0
votes
3 answers
I have a build agent on my personal machine. Can I configure the agent capabilities to only build builds initiated by me and not other developers
I only want the agent I installed on my machine to build when I initiated the build.
Not sure how to set up the agent capabilities.
I want the agent to only run when I initiated the build.
user5208051
0
votes
2 answers
How to Add Host entries to Microsoft Hosted Agents (Azure DevOps)
I am configuring some tasks in Azure DevOps, My Tasks execution needs host entries to be added in Microsoft Hosted Agents. How can I achieve this Since I can access the Microsoft Hosted Agents.

Ganesh H
- 1,649
- 3
- 14
- 20
0
votes
0 answers
VSTS Hosted Agent 2017 : Run Powershell Script for Dll versioning in Build definition
I want version my DLL with every build and release for that i have used powershell script as :
foreach ($file in $files) {
$filecontent = Get-Content($file)
echo "updating version for $file"
attrib $file -r
$filecontent | %{$_…

S2K
- 1,185
- 3
- 27
- 55
0
votes
1 answer
Looking to run a gate on a self hosted agent
I have the requirement to set up a gate in my release to validate a few things. The validation must occur inside of my network, so using any of the out of the box gate options will not work.
Is it possible to have a gate run on a self-hosted agent…

john
- 177
- 1
- 11
0
votes
0 answers
No analysable projects were found - Azure DevOps/Self hosted agent
I created a Azure DevOps Build pipeline for a .NET Core solution and tried to configure the SonarQube in the build but endup with errors. I followed the steps from the link -…

mydevMachine
- 11
0
votes
0 answers
How to solve Azure DevOps Ionic pipeline build error?
I'm trying to build Ionic framework using Hosted macOS agent in Azure DevOps pipeline. I have the below build steps.
install npm@latest -g (NPM)
install -g @ionic/app-scripts@latest --save-dev (NPM)
npm i -g ionic@latest --verbose (Ionic CLI…

Yass
- 592
- 1
- 8
- 30
0
votes
0 answers
Devenv.com does not see one csproj in the sln file (command line build via Azure DevOps)
I've got a solution file (VS 2017 enterprise) which contains 12 projects - mostly csproj, and a couple of vdproj. I've got the Visual Studio Installer Projects extension installed.
When I build from within Visual Studio, everything builds…

Mark Shapiro
- 1,192
- 10
- 13