Questions tagged [azure-devops-self-hosted-agent]
291 questions
0
votes
1 answer
Is it possible to change the local subfolder that Azure Pipelines uses with a Self-Hosted Agent?
I use a self-hosted build agent for my Azure DevOps Git rep so the build tree lives on my local build machine in a local folder like c:\agent\work\24.
I recently created a permanent branch from my master for release. I'd like to be able to build…

Joe
- 5,394
- 3
- 23
- 54
0
votes
1 answer
Is it possible to not have an azure pipeline self-hosted agent tied to a user, and use SSH instead?
The title basically sums it up. I am wondering if it is possible to not have a specific user attached to the self-hosted agent (as in no personal access token needed) and instead have SSH authentication for the self-hosted agent.

Wesley Brandt
- 185
- 1
- 1
- 10
0
votes
1 answer
Can I force ADO to disregard a build agent demand?
We are running Azure DevOps Server and we have our own, locally hosted build agents. I'm trying to get a WhiteSource scan to run on one of our build agents. The WhiteSource task "demands" node.js. But none of our projects use node.js at all, so…

Hammerite
- 21,755
- 6
- 70
- 91
0
votes
1 answer
Unable to save output from Rscripts in system directory using Devops Pipeline
I am running Rscripts on a self hosted Devops agent. My Windows agent is able to access the system's directory where its hosted. Below is the directory structure for my code
Agent loc. : F:/agent
Source Code : …

Ash
- 41
- 1
- 1
- 10
0
votes
2 answers
Unable to run Azure DevOps shell script tasks on Docker-Linux agent
I have a shell script (file.sh) with echo message. Created self hosted agent in a Linux container with the help of Microsoft documentation.
Created a pipeline job with "Bash" task to run the shell script (file.sh).
End up with no outcome, though…

Srinivas Charan Mamidi
- 301
- 1
- 13
0
votes
2 answers
Self-hosted agent does not update automatically
I have configured self-hosted agents behind a pool that has enabled "Allow agents in this pool to automatically update" option. When there are a new version, I can see that the update proccess try to upgrade agents, but nothing happens. I can´t see…

Audberto
- 11
- 3
0
votes
1 answer
How to store Azure pipelines artifacts in Windows machine by using Linux microsoft hosted agent?
Can someone help me that i have requirement on Artifacts File share in Azure pipelines. I am using Linux hosted agent and I gave in "Drop Artifacts" --> file share --> windows machine name as follows (\server name\c:\Drop). This process got failed.…

sandeep
- 3
- 2
0
votes
1 answer
How to switch to a different user on same agent to run a particular task in AzureDevOps pipeline
I have a pipeline with 6 tasks in one job, this job runs on agent01(self-hosted), there are two users, user1 and user2(more privileges) on agent01.
My requirement is, my pipeline job running on agent01 must use user1 for task 1,2,3 and use2 for …

Srinivas Charan Mamidi
- 301
- 1
- 13
0
votes
1 answer
Selenium Webdriver test's after deploy Azure Devops Pipelines
I'm trying to run my Selenium Webdriver test's after I do a deployment to my staging environment.
But I run into this error.
"The stage refers to resources like queue 'Azure Pipelines', that have been protected with checks. Protected resources can…

devcraw
- 1
0
votes
2 answers
ADO Self-Hosted agents under Linux as a Service
I have a weird issue when executing an ADO release using my self-hosted agents (running in a Ubuntu VM). These agents are configured as a service as well.
When I ran the release, they return this error:
##[error]Unhandled: Failed to find the…
0
votes
0 answers
Self-hosted Azure DevOps build agent in Docker yields unusual log formatting
A colleague and I both use Azure DevOps build agents self-hosted in Docker. We're both connecting to separate DevOps organisations, but other than that the agents are the same - we're using the latest version of the image…

Daniel Arkley
- 164
- 1
- 14
0
votes
1 answer
Azure TEST pipeline, 2 Errors: STDIO streams have closed for tool && Moved Temporarily
I am working on an Azure Pipeline running on a Windows Self Hosted agent.
My goal is to run automated tests and see the results in the Azure Pipeline UI.
Two of my tasks have error messages, here is my pipeline:
stages:
- stage: TEST
jobs:
…

ClaudeVernier
- 427
- 4
- 20
0
votes
2 answers
Can we send log of custom success message on mail in azure devops pipeline by using Azure Devops Global notification?
I'm working on azure devops pipeline and using Azure devops global Notification to send email. Currently I'm able to send my custom error message on mail by using below commands.
echo "##vso[task.logissue type=error]Invalid User Input -- Variables…

abhishek
- 1
- 3
0
votes
2 answers
java.lang.ClassNotFoundException: com.salesforce.ant.DeployTask$CodeNameElement
I am executing target in build.xml
[18] Validation Begins...

SSJOY
- 48
- 1
- 5
0
votes
1 answer
Specifying the tags on the environment during environment creation
I can't seem to figure out how to add tags to an environment during creation.
So, I call the .\config.cmd script like so:
.\config.cmd --unattended --environment --environmentname $environmentName --agent $env:COMPUTERNAME --runasservice --work…

Eric Ruder
- 463
- 5
- 15