Questions tagged [azure-devops-self-hosted-agent]

185 questions
1
vote
1 answer

Azure Pipelines agent running in container throwing error on concurrent builds

I have three Azure Pipeline agents built on Ubuntu 18.04 images and deployed to a Kubernetes cluster. Agents are running the latest version, 2.182.1, but this problem also happened using 2.181.0. Executing build pipelines individually works just…
1
vote
1 answer

Maven Errror Could not transfer artifact org.apache.maven.plugins:maven-source-plugin:pom:3.0.1 from/to central

I am trying to compile my code using maven, getting below error, Environment i am using azure devops server and using build pipeline Maven Errror Could not transfer artifact org.apache.maven.plugins:maven-source-plugin:pom:3.0.1 from/to…
1
vote
2 answers

Azure devops interactive agent as admin

I have a Windows 10 Enterprise VM running an Azure Devops Agent in Interactive mode. The agent runs using the only user the machine has, and it is an Administrator with UAC disabled. However, when executing tasks that require an elevated command…
1
vote
1 answer

Using semaphore-like conditions for pipeline job queueing

we use floating licenses for our more expensive compilers/tools, so that we can do local development as well as our production builds. The license manager (flexLM) has an api we can query, so we could block the license. However, I cannot find a…
1
vote
1 answer

How to read system defined capabilities for an agent in a tfs

I want to read my Msbuild path from my self hosted build agent as system defined capabilities, is there any way out to do so ?
1
vote
1 answer

Azure DevOps Pipeline as Code and Deployment Group

I'm facing the challenge to use the same resource (VM in my company) for all my dev environment. That means that multiple apps will be deployed there. I have: https://dev.azure.com/mycompany/project1 with a Pipeline as Code for CI/CD & environment…
1
vote
1 answer

Devops2019 JobAgent Down after URL Change

We are using Devops 2019 (App and data tiers are on two different servers),As part of our domain migration we have changed our Devops URL from: https:\domain.wireless.com to: https:\domain.wire.com But post URL change, we have noticed all the build…
1
vote
1 answer

Generating SAS token from service principal in DevOps pipeline (self-hosted)

I have the following script in a sel-fhosted Azure DevOps pipeline in order to copy build artefacts to Azure blob storage (static web site). The task is as follows and I try to use New-AzStorageContainerSASToken, also the build step log tells it…
1
vote
1 answer

Azure Devops pipelines - submodules not get updated by default

In Azure devops pipelines submodules are not getting updated by default. To reproduce the problem. Source Code https://github.com/forvaidya/submodule.git https://github.com/forvaidya/supermodule.git Updates doesn't happen unless I have following…
forvaidya
  • 2,255
  • 2
  • 17
  • 24
1
vote
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
  • 2,255
  • 2
  • 17
  • 24
1
vote
2 answers

Self hosted azure agent - how to configure pipelines to share the same build folder

We have a self-hosted build agent on an on-prem server. We typically have a large codebase, and in the past followed this mechanism with TFS2013 build agents: Daily check-ins were built to c:\work\tfs\ (taking about 5 minutes) Each night a batch…
GilesDMiddleton
  • 2,099
  • 19
  • 28
1
vote
0 answers

Azure Agent config setup error WinHttp Error: ERROR_WINHTTP_TIMEOUT

Getting "WinHttp Error: ERROR_WINHTTP_TIMEOUT" error when config.cmd is run in corporate network over VPN. This worked fine last week, but this week it stopped working. Error log is here 2020-04-22 22:33:37Z ERR VisualStudioServices] Attempt 4 of…
Girish
  • 111
  • 4
1
vote
0 answers

Azure pipeline self-hosted agent, how to see attached USB devices?

I'd like to find out how we can access our attached USB device from inside of an azure pipelines self-hosted job. I am setting up hardware-in-the-loop testing with Azure Pipelines. We have our USB device attached to a Windows 10 computer, running a…
1
vote
1 answer

How to see the Predefined Variables in Azure Devops

I want to see the values that is path of predefined variable like for $(System.DefaultWorkingDirectory) i want to see value stored in it. I am unable to find this variable value so where can i find it in Azure devops. In simple words, how could i…
1
vote
1 answer

AZ Devops Yaml Release?

I don't know if is already released az devops extension to create pipeline release with AZ CLI. There are post relating to 1y ago. I found documentation here but I can't understant how to create various stage of release…
1 2
3
12 13