Questions tagged [azure-devops-pipelines]

269 questions
2
votes
2 answers

Azure Devops Self-hosted Agent parallel jobs

We have deployed Azure devops Self-hosted Agent in our own agentpool. We have also purchased 4 parallel job per agent , but when our build runs, it runs only one job at a time and other pipeline/release jobs have to wait. How can we run 4 parallel…
2
votes
3 answers

Azure DevOps Pipeline not triggering when merge-commit contains a [skip ci] commit

Context Our pipeline triggers: trigger: branches: include: - develop - master pr: - master Our pipeline acts based on some conditions which check which branch it's on, or what triggered the pipeline. Commit to develop triggers…
2
votes
1 answer

APK signed by ADO pipeline fails to install with "App not installed" error possibly due to signing issues

I'm new to xamarin and mobile development and am having a really hard time deploying my app to an actual device. Every time I try to install on anything but an emulator, I get an App not installed error. I've spent a lot of time going over similar…
Brett
  • 21
  • 1
2
votes
1 answer

Using task output variables in template parameters

The first stage in my pipeline checks for what services have actually changed. This is in an effort to speed up the pipeline by avoiding rebuilding, retesting, redeploying services if there have been no changes. This is the changed.yaml for that…
cjones
  • 8,384
  • 17
  • 81
  • 175
2
votes
1 answer

Azure Build Pipelines publish multiple webapps in same solution

I am new to Azure Build Pipelines. I've seen many posts and videos about how to create a simple pipeline using the Azure Devops UI (no YAML), with one Web Application project, but I have 2 applications, an asp.net Core Web Application (WebUI) and an…
CidaoPapito
  • 572
  • 1
  • 6
  • 21
2
votes
2 answers

Azure DevOps Pipeline variables in templates

I am working with Azure pipeline templates. I would like the developer that kicks off a pipeline to either set a variable of a specific branch OR leave as the $(Build.SourceBranch) The reason is to pull down artifacts from different…
gumby
  • 49
  • 7
2
votes
1 answer

Azure DevOps pipeline DotNetCore test path projects pattern

I'm trying to test my .NET Core 5.0 projects in my Azure DevOps pipeline. When using a full path to one of my test projects the pipeline will test that single project. When using a pattern to search for all my test projects he can't find one of…
Doodskop
  • 33
  • 6
2
votes
2 answers

How do you delay and schedule a stage to only run the latest build in an Azure Devops yaml pipeline?

How do you schedule a stage to run at a particular time of day in a multi stage azure devops pipeline but for only the latest build? For example, let's say I have a combined build and release pipeline... I do 4 check-ins that day 4 pipelines, each…
Konzy262
  • 2,747
  • 6
  • 42
  • 71
2
votes
2 answers

always: true behaviour issue in Azure DevOps pipelines

What I want to achieve: run pipeline ONLY on cron timer and run it on timer ALWAYS ignoring previous run status trigger: none # No CI build pr: none # Not for pull requests schedules: - cron: "0 0 * * *" displayName: Daily midnight build …
Yehor Androsov
  • 4,885
  • 2
  • 23
  • 40
2
votes
1 answer

Separate staging and production pipelines

I'd like to have separate pipelines for microservices, and also staging and production. It would look like this: I'm just starting to setup the azure-pipelines.yaml and have this as the trigger for admin: trigger: branches: include: -…
cjones
  • 8,384
  • 17
  • 81
  • 175
2
votes
2 answers

Access variables from Variable Groups inside Python script task in Azure DevOps Yaml pipeline

I'm using a Python script task of type 'file' in my Azure DevOps Yaml pipeline. I need to use the variables that I defined in my Variable Group in the Python file. The following is my task on Azure devops yaml pipeline. - task: PythonScript@0 …
2
votes
1 answer

Azure DevOps Pipeline: Download publish artifact (webapp.zip) to specific server or local directory of PC

I have created a pipeline in Azure DevOps and wanted to download the publish artifact to a server, each time I am running the pipeline I can see the Published zip file in Drop folder on Azure but I am not getting any way to download the zip on local…
2
votes
0 answers

Permission to create new 'Environment' for Azure Devops Pipeline

I need to create a new 'Environment' for an Azure devops pipeline. I've come across this, which says I need to have the 'Basic' access level as a user, instead of 'Stakeholder'. I don't have permission to change this though, and I don't have any…
Chris Halcrow
  • 28,994
  • 18
  • 176
  • 206
2
votes
3 answers

How to Skip build test when running Azure DevOps Pipeline(Spring Boot Maven Project)

I have a problem when running Azure DevOps Pipeline. I'm now using Spring Boot Maven Project. I want to run Build Pipeline without building test(src/test) files,because the project will build failure with test files, and it can be built successfully…
2
votes
3 answers

Managing EF migrations in Azure DevOps Pipeline

So our team has implemented a Windows self-hosted Azure DevOps testing pipeline. It was working well until we ran the backend tests for a branch that had a database migration. Although the tests passed as expect, this migration changed the agent's…