Azure Pipelines automatically builds and tests code projects to make them available to others. It works with just about any language or project type. Azure Pipelines combines continuous integration (CI) and continuous delivery (CD) to test and build your code and ship it to any target. YAML (or YML) is the language used to construct pipeline objects.
Questions tagged [azure-pipelines-yaml]
1379 questions
0
votes
1 answer
How to resolve "unexpected value 'stages' azure pipelines" in Azure devops pipeline yml
I am new to Azure devops. as part of poc, i am trying to build a java based docker image.
so i have following pipeline yaml file
# Maven
# Build your Java project and run tests with Apache Maven.
# Add steps that analyze code, save build artifacts,…

Adhi
- 49
- 1
- 7
0
votes
1 answer
Pass a file reference as a parameter to a inserted step from another repo in a Azure YAML deployment
I have a repository of yaml based jobs that I'd like to reuse in a number of yaml script. The script that will use the jobs however are in other repository.
The reusable job takes a file path as an input parameter. And for some reason the file can't…

Riri
- 11,501
- 14
- 63
- 88
0
votes
1 answer
Azure Pipelines: Rollback to a certain version (release) after failed deployment to Kubernetes cluster in Azure-Pipelines.yml
I am using Azure DevOps (Pipelines -> Pipelines) to create my CD pipeline to release to production. I understand that using Pipelines releases (Pipelines -> Releases) I am able to select and redeploy a previous release version. I would like to know…

Richard Rodjues
- 207
- 1
- 6
- 23
0
votes
1 answer
How to get path to project in pipleline Azure Devops?
I would like to ask how to get path to project (repository) in pipeline (yaml syntax) Azure Devops?

expressiontree
- 71
- 1
- 7
0
votes
3 answers
Azure Devops Piepeline - Yaml Powershell Script Path
I would like to ask you if someone knows how to create a correct path to powershell in Azure Devops Pipeline Yaml Syntax.
How looks like my YAML (Currently):
trigger:
- develop
pool:
vmImage: 'ubuntu-latest'
steps:
- task: PowerShell@2
…

stacktracerr
- 70
- 1
- 8
0
votes
1 answer
How to deploy to azure web app containers using a docker hub registry
As part of my azure pipelibe I build a docker image and push it to my docker hub registry. Then I would need to deploy it to an Azure Web App for Containers and for that I have been trying to add the code below:
- stage: Deploy
displayName: Deploy…

mitomed
- 2,006
- 2
- 29
- 58
0
votes
2 answers
Azure Yaml Pipelines - Dynamic object parameter to template
I would like to trigger a job template with an object as parameter.
Unfortunately, even based on the examples I couldn't find a way to do that.
I would appreciate if someone could guide me how to achieve this.
What I want to achieve, is to replace…

Zeppyk
- 208
- 1
- 4
- 8
0
votes
1 answer
Copy trx files stored in Test Plans into another location
I need to copy all the trx files that my VSTest tasks are creating into one location in order to count the total number of tests run using a powershell script. The problem is that, VSTest task is creating all the trx files in Test Plans and these…

Nițu
- 59
- 1
- 7
0
votes
1 answer
Continuously run python script, which is deployed with Azure Pipelines and GitHub
I have transferred forecasts.py file from GitHub to my virtual machine via Azure Pipelines. If I start the script from the virtual machine terminal with python3 forecasts.py &, everything goes smoothly and the script remains running in the…

pentti
- 95
- 10
0
votes
2 answers
Does Azure Pipeline Support .NET Core 3.1.7?
This is the error I get:
This is my configuration:
Can anyone help me?

HootanHT
- 216
- 5
- 17
0
votes
1 answer
Azure Pipelines Deploy Stage Failing without Error
The deploy stage of the pipeline fails without error after build stage completes successfully.
Enabling system diagnostics does not give in any additional information (see the screenshot below).
The following pipelines yaml file was…

ejlouw
- 305
- 4
- 14
0
votes
1 answer
ADO pipelines - how to evaluate the value of a variable group at runtime
I have a variable group that I want to be run an expression in. That is I want to have the variable group's variable contents be computed at runtime.
Variables_General has a variable called isMain with the content…

Damon Stamper
- 378
- 1
- 4
- 16
0
votes
1 answer
setting up name in extend template doesn't work in azure yaml pipelines
this is developer repo pipeline
resources:
repositories:
- repository: extendCheck
type: git
name: PUL/extendCheck
trigger:
- none
extends:
template: base2.yml@extendCheck
parameters:
buildSteps:
- bash: echo Test…

Sanjeev
- 415
- 5
- 17
0
votes
1 answer
Azure Pipelines Yml Template in Public GitHub Repo
I have a public GitHub repo with some Azure Pipelines yml template files. I want to create a pipeline that uses these templates. I don't want to use an OAuth based service connection, because the whole concept of an OAuth Service Connection is…

Jeff
- 35,755
- 15
- 108
- 220
0
votes
2 answers
Deploy ARM Template and Docker image
Well, everyone keeps saying to try to learn something new during this pandemic, so that's what I'm trying to do. I'm brand new to YAML and Docker, and fairly new to ARM templates.
I've been able to use YAML to build and publish .NET Core apps using…

Don Sartain
- 557
- 9
- 25