Questions tagged [azure-devops-pipelines]
269 questions
45
votes
5 answers
Azure DevOps : how to disable CI trigger on a YAML template pipeline?
In template pipelines you can't place any trigger statement such as trigger: none as specified in Microsoft's docs to disable ci trigger, so I wonder how do you prevent these pipelines from being executed every time you update them or any other yaml…

whatever
- 2,492
- 6
- 30
- 42
26
votes
1 answer
Disable source code checkout in specific pipeline stages
I have a pipeline with multiple stages, and the source code is checked out automatically on all of them. I do not need the source code, but only published artifacts.
How can disable source code checkout for specific stages?

jhurtas
- 555
- 1
- 6
- 17
26
votes
1 answer
Azure Pipelines : differences between PublishBuildArtifacts and PublishPipelineArtifact tasks?
I've noticed the existance of a PublishPipelineArtifact task but it is not clear to me if there is any functional difference from the older PublishBuildArtifacts task?

whatever
- 2,492
- 6
- 30
- 42
12
votes
3 answers
Azure DevOps pipeline trigger issue message not going away
Our team is implementing an Azure DevOps testing pipeline. After our initial commit to create the pipeline .yml file this error message was displayed. After looking into it, I realized I forgot to include the trigger in the .yml. However after…

Andrew
- 585
- 1
- 7
- 17
11
votes
2 answers
Azure Pipelines: "Error NETSDK1004: Assets file '...\project.assets.json' not found." in Pipeline when caching Nuget packages with Cache@2 task
I have a .net core 3.1 solution with several web and class library projects in it. All packages use the format in the .csproj file.
I am building the solution with Azure DevOps Pipelines and I want to reduce my build times by…

urig
- 16,016
- 26
- 115
- 184
8
votes
1 answer
Azure devops pipeline is not running because you have reached the maximum number of requests that can run for parallelism
type 'Microsoft-Hosted Private'
Getting this error running a pipeline on a new account so there're enough credits/limits
It has been stuck for close 20+ hours now, have tried to recreate projects/subscriptions/pipelines and what not but no…

Kumar
- 10,997
- 13
- 84
- 134
7
votes
2 answers
Azure DevOps REST api - Run pipeline with variables
I have a pipeline on Azure Devops that I'm trying to run programatically/headless using the REST api: https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run%20pipeline?view=azure-devops-rest-6.0
So far so good, I can auth and…

user1202032
- 1,430
- 3
- 15
- 36
6
votes
1 answer
Howto Pass a Pipeline Secret to DockerCompose@0
I'm writing a testing pipeline and dynamically creating a series of containers to setup the pieces.
I need to be able to pass a secret variable from the Pipeline into the Docker Compose construct to enable the container to connect to the database…

Paul Farry
- 4,730
- 2
- 35
- 61
6
votes
1 answer
Azure DevOps Pipelines with Terraform failing on arm_xxx parameters
We have several pipelines in Azure-Devops performing Terraform init-plan-apply. Until now worked fine.
But all of a sudden we are getting these errors in the Init phase.
Initializing the backend...
╷
│ Error: Invalid backend configuration argument
│…

Harry Leboeuf
- 723
- 12
- 30
6
votes
3 answers
Azure DevOps Pipeline: Tests that pass locally fail on the pipeline
Our team is trying to implement Azure DevOps pipeline but we are having some issues. For background, we are running the tests on our self-hosted windows server. We got the front-end tests to all work but now we are having issues getting the backend…

Andrew
- 585
- 1
- 7
- 17
6
votes
1 answer
How do I create a coverlet coverage report on Azure DevOps Pipeline with a ".Net FrameWork 4.7" project?
I'm currently trying to create a Coverlet coverage report with a pipeline on Azure DevOps. But, since my project is a ".Net FrameWork 4.7" project, I can't create a coverage report using "DotNetCoreCLI@2" task like a ".Net Core" project.
There's my…

H3sitant
- 121
- 1
- 9
6
votes
1 answer
Azure DevOps Pipelines - Scale Set Agents: Installing Docker
We've recently reconfigured our build process to run entirely in containers, and we're now looking to migrate away from on-premise build agents to using agents in an Azure Scale Set.
We want to avoid having to maintain our own VM images for the…

Frederik Carlier
- 4,606
- 1
- 25
- 36
6
votes
2 answers
Azure devops pipeline to build and deploy my native Android application Google Play store or App Center as App Bundle
I need to setup Azure a devops pipeline to build and deploy my native Android application to Google Play store or App Center as App Bundle.
I could figure out to deploy an apk but need help to deploy app bundle(.aab). Any help would be appreciated.

user_1989
- 375
- 4
- 10
5
votes
4 answers
Azure Devops Get a repositoryId by using repository name
I am writing a BASH script, where its creating an azure repo and then pushing code. post this step it will go-ahead and create an azure pipeline via azure-pipeline.yaml file present in the Azure repo.
At this step we need to pass the repository ID…

Devops-Learner
- 451
- 1
- 4
- 16
5
votes
2 answers
Change Azure DevOps pipeline build status when warnings are thrown
We have an Azure DevOps pipeline which uses self hosted Windows agents with Azure DevOps server 2019. The pipeline runs our front-end tests without any problems. However, occasionally our linting step will find problems that it throws as warnings…

Andrew
- 585
- 1
- 7
- 17