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

Stop Azure Pipeline AWS ECR Push task removing forward slash from repository name

I am trying to push images from my Azure Pipeline to an AWS ECR containing a forward slash but the pipeline keeps failing as the ECR task seems to be removing the additional forward slash. My pipeline contains the following: - task: ECRPushImage@1 …
0
votes
1 answer

Pass arguments to Blazor WebAssembly from pipeline build-publish-deployment

I know I can use Environment variables to create (and use) different appSettings.json files in my client-side Blazor WebAssembly project. I would like to implement a more general and flexible solution, where I can start a pipeline deployment passing…
0
votes
1 answer

Azure DevOps YAML - Pass parameter to sub-template based on current templates parameter

I have multiple layers of template for my DevOps pipeline. I am trying to do the following: ### template A ### parameters: - name: check type: boolean default: false jobs: - template: template B ### template B has param…
0
votes
1 answer

Azure Pipelines - export variable from Python script task to use in Powershell script task

I have a variable defined in my Python script task in Azure pipelines. variable = "True" I want to use this variable in the next task which is a Powershell script task. How can I achieve this using Azure YAML pipelines? Thanks!
0
votes
1 answer

How to publish and download artifacts from multiple jobs into one location on pipeline?

Original question (check update in next section) I would like to download files that are produced by multiple jobs into one folder on azure pipelines. Here is a schema of what I'd like to accomplish: jobs: …
gomfy
  • 637
  • 8
  • 16
0
votes
2 answers

docker pull - invalid reference format in Azure DevOps

I m trying to pull images in my pipeline in a dynamic way. I have a file call "images.txt" that contain: (cat images.txt would return) cat images.txt python:3.8-slim neo4j the way to pull a image in azure pipeline is: that code work but…
0
votes
1 answer

How to move 'resources → containers' to a template in Azure Pipelines YAML file?

We are using multiple Azure pipelines to deploy services, using YAML code as definitions for the pipelines. Now each of the pipelines may run their jobs in build containers defined in the resources section of the YAML file: resources: containers: …
MC Emperor
  • 22,334
  • 15
  • 80
  • 130
0
votes
1 answer

How can instead of the variable of Azure DevOps to variable of PowerShell?

I have created the PowerShell script for the renew registration key of the WVD host pool. And I have been uploaded the script to Azure Repo. The script has been tested and it was work. I have created the variable group already but I don't know how…
0
votes
1 answer

How to deploy via azure release to VM?

I'm trying to setup a release pipeline in azure devops which is supposed to deploy my web site to virtual machine, that is, update an existing web site already running on IIS. I'm getting the following errors: 2021-02-25T20:47:55.4825268Z…
0
votes
2 answers

Is it possible to define resources with dependencies in Azure Pipelines YAML

Is it possible to create a resource container that depends on another resource container and define that dependency through YAML? So something similar to depends_on in docker compose. For example, kafka is dependent on zookeper and I would like to…
0
votes
1 answer

access a variable from azure pipeline's library variable group in side the built in function 'eq' in a template

I want to access the variable (defined in pipeline's library variable group) in side an 'if' expression using built in function 'eq' in my template yml file. MY_VARIABLE_GRP has key: SONARQUBE_OR_SONARCLOUD Value: 'sonarqube' main.yml …
Sanjesh M
  • 341
  • 2
  • 6
  • 22
0
votes
1 answer

Error ASPCONFIG: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0 Azure DevOps CI Pipline

I am new to Azure DevOps, I am trying to move the development environment to Azure develops and build the CI pipeline as follows: # ASP.NET # Build and test ASP.NET projects. # Add steps that publish symbols, save build artifacts, deploy, and…
Mai
  • 121
  • 1
  • 10
0
votes
1 answer

Azure pipeline Blazor WASM do not propagate changes after publish from desktop

I am deploying a Blazor WASM (with ASP.NET server backing) using AZURE pipelines. I started out with .NET Core 3.1 and moved recently to .NET 5. I needed a Quick fix to get a version up and running why I deployed from visual studio on my desktop…
0
votes
1 answer

SonarQube fails on Azure Pipelines with Unable to load component class org.sonar.scanner.scan.filesystem.InputComponentStore

After installing the marketplace plugin I'm following the official documentation for my SonarQube installation (8.6 Community) gradle plugin cfg: plugins { id("org.springframework.boot") version "2.4.2" id("io.spring.dependency-management")…
0
votes
3 answers

What's should I specify for the rootDirectory of an Azure Pipeline for a static website?

I manage a static website. No database, no server-side processing like ASP.NET (IIS), PHP, etc. This website is comprised of just HTML, CSS, some JavaScript, and a few graphic files. I'm trying to use Azure Pipelines for this. This is my first time…
Rod
  • 4,107
  • 12
  • 57
  • 81