Questions tagged [azure-pipelines-yaml]

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.

1379 questions
0
votes
1 answer

release YAML pipeline for multi tier application

How can we create Deployment only YAML pipeline for 5 apps in specified sequence.These apps code are in different project and Repos have their own build pipeline which publish build artifacts to artifactory feed.
Sanjeev
  • 415
  • 5
  • 17
0
votes
1 answer

Pass values between template jobs in azure pipelines yaml

I have the following setup where the first templated job (deploy-infra.yml) runs some terraform jobs which produce some output which are needed in later templated jobs, what I can seem to do is pass this output to other templated jobs, this seems to…
0
votes
1 answer

Azure devops Pipelines using YAML - build/release each project to a separate app server

I have a multi-project solution (with multiple web projects, azure function project, etc.). I want to be able to build each project separately, and deploy it to separate app services. I read this question: Azure DevOps: 1 Solution Multiple Projects…
0
votes
1 answer

Azure Build Pipeline - multiple repositories built with multipe jobs - how to reuse the same working directories each build?

I have a main solution and N other solutions in different repositories. Each time main solution builds I have to build N others and create an artifact of main solution containing others. My current build pipeline looks like this. [Stage 1] [Job 1]…
0
votes
2 answers

Azure DevOps - two dependent YAML pipelines in one repository

I have two .yml files in my repo. One for build, one for deployment. The main reason why I would like to keep build separate from the deployment is that I also would like to store variables for environments in my repo, e.i. in variables-dev.yml and…
mibrl12
  • 454
  • 5
  • 21
0
votes
2 answers

How to set Pipeline 'Task version' in YAML in Azure Devops pipeline

How can I set this value in YAML? This is from Azure devops pipeline EDIT: There is a powershell version below the same UI(Preferred PowerShell Version), the question is not about that.
Blue Clouds
  • 7,295
  • 4
  • 71
  • 112
0
votes
1 answer

Triggers on release branch X strategy

Question: how do you setup CI/CD in YAML pipelines for following context. branches master release/{ALPHABETICAL NAME} ex. release/Albert next release is release/Bertrand and so on. environments accept: everything that's pushed on master test:…
0
votes
1 answer

General timeout argument in azure pipelines

I know how to set a timeout for a specific job in Azure Pipelines. (Jobs documentation here) Can I set a global definition that will apply to all jobs in that YAML, or do I have to set each one explicitly?
-1
votes
1 answer

Building and Deploying a Static Web Page Using Azure DevOps Pipeline (Excluding Release Pipeline)

I'm attempting to create a pipeline in Azure DevOps to both build and deploy a static web page. I've managed to build and publish the artifacts using the following pipeline configuration: - task: PublishBuildArtifacts@1 displayName: Publish…
-1
votes
0 answers

Variable groups with YAML templates

I want to use variable groups that are referenced in my template code. It wont allow me to reference groups in the template, or in the stages Here is my pipeline code trigger: batch: true branches: include: - main pool: vmImage:…
Mike Fleming
  • 107
  • 1
  • 9
-1
votes
0 answers

How can I have two pipelines referencing/running the same yaml, but each monitor a different scheduled run?

I had made the following YAML pipeline on Azure Pipelines, that will run two jobs, using a list of specific parameters, depending on the schedule that I had set. Here's a tweaked (not the original) code snippet of what I had made. Though it hasn't…
-1
votes
0 answers

Deploy .NET 4.7 Application with Azure DevOps

I'm trying to deploy a .NET 4.7 application with Azure DevOps. I pushed the project with Sourcetree and merged these on Azure. Then I've created a pipeline with Azure Repos Git and got a YAML file with the following code: # ASP.NET # Build and test…
-1
votes
0 answers

azurepipelines.yml: "can not read an implicit mapping pair; a colon is missed"

I'm converting a standard Azure Devops pipeline to a yaml pipeline. Currently, my azurepipelines.yml has an error I don't understand. It's a simple powershell script, I copied the yaml from the pipeline, and placed it in the…
-1
votes
1 answer

Azure DevOps Error parsing YAML: can not read a block mapping entry; a multiline key may not be an implicit key

I wrote a pipeline in Azure DevOps which would change the buildNumber of my project automatically. The problem is that I get the error can not read a block mapping entry; a multiline key may not be an implicit key. I know this question has been…
-1
votes
1 answer

How can I run a specific Network Security Group module in an existing Azure Bicep file using Azure DevOps YAML pipeline?

How to run only Network security group module in an existing Azure Bicep file using Azure DevOps YAML pipeline?
Satish B
  • 1
  • 1