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
Unable to download packages to Azure Artifacts from Azure Pipelines
Requesting your help with Azure Artifact connection from Azure Pipelines.
My Azure Pipeline is building a image from docker file and a 'requirements' file has list of packages to be pip installed. In the pipeline I authenticate to my Azure Artifacts…

Suraj
- 575
- 1
- 9
- 23
0
votes
1 answer
Facing issue while passing parameter to azure yaml pipeline using Azure Build API
I tried using parameters in pipeline per below ::
name: var1
displayName: var1
type: string
default: variable2
values:
variable2
variable3
variable4
now when i am trying to hit by postman and passing parameter in body per below
post call to…

sharad jain
- 113
- 1
- 10
0
votes
1 answer
Deploy python script to virtual machine from GitHub via Azure Pipeline
My goal is to deploy my python script from GitHub to my virtual machine via Azure Pipeline. I have established the connection, but I don't know, how clone the GitHub repository to the virtual machine. I have followed the instructions here
There is a…

pentti
- 95
- 10
0
votes
1 answer
Angular deployment using npm run build with the base-href params doesnt render the page
Recently i ended up in an issue where we use the "npm run build" command in our build pipeline yaml script. And followed by the parameters like 'base-href', 'configuration' etc. The build went through and the deployment was success but when we test…

Ak777
- 346
- 7
- 18
0
votes
2 answers
Yaml Build Scripts - Run Tasks by git branch
I have a build script that I want to run some build steps for code on master, features/* and releases/*, and then some publishing features only on master and releases/* branches.
I can't seem to locate any documentation for sectioning out the build…

Josh
- 16,286
- 25
- 113
- 158
0
votes
1 answer
Azure Pipeline AWS Powershell script task
I want to use the powershell in my AWS Elastic Beanstalk to install some windows feature(ie. web sockets).
i found this https://docs.aws.amazon.com/vsts/latest/userguide/awspowershell-module-script.html but I don't know and I cant find the task…

Rashid
- 1,700
- 1
- 23
- 56
0
votes
1 answer
How do I add environment variables to a container with azure build yml?
Trying to deploy an app to kubernetes using azure. I have a build pipeline yml file and in the pipeline i've set a variable called "discordToken". I tried setting it two different ways, one is called discordToken and the other is MY_MAPPED_ENV_VAR.…

Enter Name
- 13
- 1
- 5
0
votes
0 answers
AutomationUI function test don't start by Azure Pipelines YAML
I have to run some AutomationUI functional tests from Azure DevOps Pipelines. The tests use a desktop application in WPF/Winforms. The problem is a process of application start but without UI. I run the test using YAML and tasks: VSTest@2 or…

ABoro
- 1
- 1
0
votes
1 answer
YAML for Azure Pipeline for MonoRepo code on a self-hosted agent
I'm a first time user of Azure Devops and I need to create a CI/CD process for a mono-repo project hosted on Azure Repos. Here's a brief description
The Git repo has multiple projects inside it that I would like to build in separate pipelines as…

h1990
- 125
- 3
- 11
0
votes
0 answers
Changing Azure YAML Pipeline causes authorization to be lost to Resources
I've had this happen to me a number of times where I have a working Azure Pipeline written in YAML. Then I change the Pipeline and then I get the error that There was a resource authorization issue. Typically I delete the pipeline, re-create it, and…

FilBot3
- 3,460
- 6
- 33
- 55
0
votes
1 answer
Cannot publish dotnet core web api app to Azure AppService
I need to build, test, and deploy a .net core web api app. I was hoping that this article titled Build, test, and deploy .NET Core apps would help me build, test, and deploy the app but for some reason I'm just not getting it.
I have a simple .net…
user3230660
0
votes
1 answer
Azure pipelines Stage variable fails with no error
I am trying to get the new stage variables to work.Here is my stripped down example:-
stages:
- stage: firstStage
jobs:
- job: varSetJob
pool:
vmImage: 'windows-latest'
steps:
- task: PowerShell@2
inputs:
…

David Watson
- 41
- 5
0
votes
2 answers
How do I use curl request to create an Azure Pipeline from yaml file using the CLI?
I created a repo in azure, I created a bash file that cloned the repo from my CLI using:
$curl git clone https://username@dev.azure.com/organization/project/_git/reponame
which cloned the repo. My challenge now is automating the yaml file I have…

Theo
- 1
- 1
- 1
0
votes
1 answer
Azure Pipelines Widget/Report to View Pipeline Status Across Projects
Does this exist?
I have 10 team projects in Azure DevOps, each with 2 to 5 pipelines (using multi-stage yaml pipelines, not classic Release pipelines).
Is there any widget or built in functionality to see a dashboard of all of my pipelines across…

Jeff
- 35,755
- 15
- 108
- 220
0
votes
1 answer
Getting value of a variable value in azure pipeline
enviornment: 'dev'
acr-login: $(enviornment)-acr-login
acr-secret: $(enviornment)-acr-secret
dev-acr-login and dev-acr-secret are secrets stored in keyvault for acr login and acr secret.
In Pipeline, getting secrets with this task
-…

anand
- 11,071
- 28
- 101
- 159