Questions tagged [azure-devops-pipelines]

269 questions
0
votes
1 answer

Azure Pipelines Deployment Group vs Deployment Pool

I would like to know what the difference is between an Azure Pipeline Deployment Group and Deployment Pool. Equally importantly, under what circumstances or criteria would I choose either? Thanks.
0
votes
1 answer

Can I exclude job's execution when template changes in azure devops?

I am building a pipeline using a template (and nextly will be more pipelines using the same template). My problem is when I change something in the template the pipeline is executed, that means when there be more pipelines using the template, all…
0
votes
1 answer

Azure Self Hosted agent : A session for this agent already exists , when running more then 1 build agent

I have defined 1 agent called "ios_dockeragent" in agent pools configuration : Settings/Agent pools/Default In my Azure DevOps organization, I bought 4 Parallel jobs and 3 Parallel hosted jobs so I do not have a parallel jobs problem. From each…
0
votes
1 answer

Azure pipeline getting error: [error]The read operation failed, see inner exception on mac hosted agent

im getting this error, which i try to find why and what happened Suddenly: and more importantly how to debug such an error . what this line means : Error The read operation failed, see inner exception. where is this : inner…
user63898
  • 29,839
  • 85
  • 272
  • 514
0
votes
0 answers

dotnet restore does not copy files to outdir on azure devops, works in vs

I have a nuget packages with a props file:
user10285265
0
votes
1 answer

Dotnet command failed with non-zero exit code on a unit test suite, no apparent error details

I am running a unit-test suite and suddenly dotnet exits with an error but an error which I cannot see what is related to ? 2020-09-28T14:45:44.4406132Z ##[error]Error: The process 'C:\ag2\_w\_tool\dotnet\dotnet.exe' failed with exit code…
user10285265
0
votes
4 answers

Can I run powershell commands from Azure DevOps to vm's in Azure?

How am I able to run PowerShell commands against a Windows 2016 vm in Azure without using winrm or pssession where I have to install\configure a self signed cert? Does anyone know
0
votes
0 answers

Azure DevOps is not showing PSExec output in build summary

We have a PSExec command to run batch scripts on a remote machine. When we run it from the machine where the self hosted agent is, it shows the job(batch script) log, on the command window. But when we run the same command from Azure pipeline via…
0
votes
1 answer

Azure devops pipeline restAPI How to pass varible with SourceFolder for CopyFiles Task , self hosted agent in container

my set up is as follow I have hosted agent that as first job copies files from the self-hosted agent which is started as a docker container the hosted pipeline is triggered with pipeline "run" rest API…
user63898
  • 29,839
  • 85
  • 272
  • 514
0
votes
1 answer

In Azure DevOps with a Multi Stage Pipeline, how do a manually deploy to an environment?

I currently have a separate Pipeline for a Build and Deployments. The SysTest deployment is triggered automatically. I manually deploy to QA, which I like (See below). I am trying to upgrade this process to a Multi Stage Pipeline. However, I can't…
0
votes
1 answer

Azure DevOps: tests failing when addressing multiple .Net frameworks

[Edited: 10-Aug] I have a project that generates a DLL (for a private NuGet package). This project is written to compile in the following frameworks: netstandard2.0;netstandard2.1 The solution also contains…
DrGriff
  • 4,394
  • 9
  • 43
  • 92
0
votes
1 answer

Azure Devops Release pipeline - Queue new release when previous is executing

We have our release pipelines configured with multiple stages. For each pull request that gets merged into master, a new release is created automatically. We have DEV => TST => REL => PRD. Now, we also use those stages to execute automated tests. So…
BenSav
  • 3
  • 1
0
votes
1 answer

Which YAML file is used when a branch triggers the YAMLs pipeline?

I have a YAML file that gets triggered when 'SomeBranch' gets updated trigger: - SomeBranch [Various Steps] Now I've updated properties in the YAML file found in 'SomeBranch' and pushed it to my repository stored on Azure Devops. My question is…
Mandelbrotter
  • 2,216
  • 2
  • 11
  • 28
0
votes
1 answer

Can't conditionally add script to Azure Devops Yaml pipeline

I'm trying to make use of Container Job template in a pipeline which runs on both Microsoft Hosted and Self-Hosted (Containerized) build agents. ContainerJob template works well when run in Microsoft Hosted but fails in Self-Hosted agent saying…
0
votes
1 answer

Tag resources when registering to the environment

I have a pipeline with multiple stages that deploys groups of virtual machines. And registers one to and azure pipelines environment. Then I want to target that registered VM in a deployment job. I have a problem to target that resource by name as…
1 2 3
17
18