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

291 questions
0
votes
0 answers

how to install static-web-app-cli offline in redhat and ubuntu?

As the Azuredevops server is not supported for for the task "task: AzureStaticWebApp@0", we were trying to use the swa cli in our azuredevops agents(ubuntu and redhat). But offline installation of the swa cli is failing with this error. npm install…
0
votes
0 answers

Setting new Azure Pipelines Agent - locks admin accounts out

I need some expert help ;) I have a new Windows 10 system configured with domain users + some others (all worked fine). My next step was to set up that box as an Azure DevOps Self-hosted agent. I have followed these instructions -…
pi4r0n
  • 111
  • 1
  • 6
0
votes
0 answers

Azure Self-hosted agent - Adding MFC and ATL support for build

I am fairly new to the Azure devOps and self hosted agent. During my build process I am getting the following fatal error RC1015: cannot open include file 'afxres.h'. Our project requires MFC and ATL how do I add this to the self-hosted agent ?
0
votes
0 answers

AzureDevops git checkout task without git history

We followed the solution provided here Shallow fetch for repository to achieve git clone without git history but didnt work. still git is checking out the history. We are using Azure DevOps pipeline to build our long running application whose…
0
votes
1 answer

ApplicationInsightsTelemetrySender failed to track events with 'Name or service not known' error in Azure DevOps pipeline with self hosted agent

I have an Azure DevOps pipeline that runs on a self-hosted build agent behind a firewall. The pipeline creates some files and publishes them as artifacts using the "PublishPipelineArtifact" task. However, after the artifact is published, I receive a…
0
votes
0 answers

Self-Hosted azure pipeline agent is not applying users' environment variables

I am using a self-hosted deploy agent on a windows VM. The service is running under a "normal" windows administrative user in order to be able to access some system-specific installations and batch files. Whenever I try to run one of those batch…
0
votes
0 answers

Git checkout tasks in Azuredevops pipeline is taking long time

We are using azuredevops server with AKS based agents with Keda support for scaled jobs. we have enabled persistent volume with AzureDisk to store the build caches (mvn, npm, etc..) which is working as expected. But now the challenge we are facing…
0
votes
0 answers

Azure DevOPs Pipeline Error while using SlefHosted Agent Pool

We have been using Azure DevOps Pipeline for all our CICD, We have An Azure Webapp which is configured with private endpoint, with said i can only access it from Internal network. In this scenario, i can't use Azure agentpool for DevOps Pipeline,…
0
votes
0 answers

##[error]No agent found in pool TestPool which satisfies the following demand (Using intel Mac)

I was trying to use a self-hosted agent to create my pipeline on azure. But I got this error ##[error]No agent found in pool TestPool which satisfies the following demand: VisualStudio. All demands: msbuild, visualstudio, vstest, Agent.Version…
Ian
  • 342
  • 1
  • 3
  • 14
0
votes
0 answers

What is the method to begin the build number from a specific number and continue incrementing from that point?

Currently, I am utilizing TFVC as a source control version within Azure DevOps, and I'm using the Classic Editor for my build pipeline. I am aware that $(Rev:r) is a predefined variable utilized solely in the Build Number Format to increment the…
0
votes
1 answer

Create docker image using azure build pipeline, self-hosted agent and docker-desktop

I am currently working with the azure build pipeline to build my .NET application and create docker image using self-hosted agent and docker desktop. after creating the image, image will be pushed to Azure Container Registry (ACR). But, when my…
0
votes
0 answers

Why would a build on a self hosted build agent be able to build during the day by either scheduled or manual, but only by manual at night?

We have self hosted build agents on Azure VMs. The problems that we are having is, when sending builds of a specific project to the agents, they will build just fine during the day either by scheduled build or manual execution. But, at night only…
0
votes
1 answer

##[error]Build Failed : Error: Ensure the path to the application artifact or to the folder that contains artifacts for upload is valid

Local Azure DevOps server integration with Veracode Error: ##[error]Build Failed : Error: Ensure the path to the application artifact or to the folder that contains artifacts for upload is valid.
0
votes
1 answer

How to check what is OS of self hosted agent?

i am new to Azure and having basic question. How do we know self hosted agent is windows machine or mac or Linux? while configuring this, we are not choosing what should be the OS of my agent. In Microsoft hosted agent where we have dropdown list to…
0
votes
1 answer

Windows Powershell error while registering the agent

I am trying to register an agent to Azure DevOps, but I get error like this program is blocked by group policy. Not sure how can I fix this. Could someone help?