azure-pipelines-yaml Questions
4
I have been writing some terraform and using Azure Devops to deploy the pipeline. However if I use a variable $(serviceconnection) for the service connection it fails with the following error:
Ther...
Lightish asked 28/6, 2022 at 13:32
3
I have a self-hosted Azure DevOps Pipeline build agent and would like to download and install Python from the Github repository if it is not already available in the agent tools directory.
The offi...
Azotic asked 13/12, 2022 at 10:28
4
Solved
I am trying to use if else conditions in Azure Devops yml pipeline with variable groups. I am trying to implement it as per latest Azure Devops yaml pipeline build.
Following is the sample code for...
Frederick asked 20/10, 2021 at 20:25
3
Solved
I have a use case where I want to use pipeline parameters in a yaml pipeline with user name and password.
For the username it's easy because I simply add the following in my parameters section.
par...
Benefactress asked 12/1, 2021 at 14:48
4
Solved
I'm hoping to cache a specific stage in my multi-stage Dockerfile that my test stages use in an effort speed the build process up. Otherwise, it builds for unit testing and then for integration tes...
Synthetic asked 30/10, 2021 at 22:35
2
Solved
Using Azure DevOps YAML in a database project build and release pipeline
This bit of code correctly picks up my four dacpac files, I can see these being copied in the console
- task: CopyFiles@2
...
Cyanamide asked 27/1, 2022 at 7:28
4
Solved
I have a problem in the ADOS system that the pipeline fails because there is no "pool" specified. Also the validation shows this error. However, I have defined a pool.
trigger:
branches...
Darkle asked 1/12, 2022 at 13:59
3
Solved
In Azure Pipelines YAML, you can specify an environment for a job to run in.
jobs:
- deployment: Deploy
displayName: Deploy
environment: $(environment)
Passing a new value to the pipeline shou...
Cavein asked 12/10, 2021 at 20:13
5
Solved
I'm building a complex pipeline in yaml and I'm trying to create a dependency between two jobs such that the latter job runs after the former, but only if the former is set to run based on a parame...
Hexangular asked 28/5, 2020 at 6:21
3
Solved
We've been using the "new" CICD setup for Azure Data Factory as descibed by the documentation page: https://learn.microsoft.com/en-us/azure/data-factory/continuous-integration-delivery-im...
Tufted asked 16/6, 2022 at 12:16
4
Solved
I'm just starting to work with runtime parameters in Azure Pipelines and there's something I can't quite figure out. Considering this Azure Pipelines YAML:
parameters:
- name: deployEnvironment
d...
Guilt asked 8/4, 2020 at 19:21
3
Solved
Let's suppose I have 3 environments on Azure: Dev, Test and Prod. I have the same pipeline for building and deploying the resources and the code for each one of the environments except for two diff...
Landowner asked 10/11, 2020 at 22:28
3
Solved
I am using a self-hosted agent for running my build and release pipelines.
A problem happens after I run a build and it fails due to an issue in the pipeline. The cloned branch from remote sits in ...
Cumbrance asked 1/7, 2020 at 14:53
6
Solved
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 e...
Pelage asked 11/12, 2020 at 9:55
4
Solved
As it is possible to stop a single step in a Azure DevOps pipeline:
echo "##vso[task.complete result=Succeeded;]DONE"
See: https://github.com/microsoft/azure-pipelines-tasks/blob/master/docs/aut...
Mahone asked 27/5, 2020 at 13:16
2
Solved
I'm trying to inject a useful version number into my ASP Core application which I'm building and deploying using an Azure DevOps pipeline.
- script: dotnet publish -c $(buildConfiguration) -p:Versi...
Monochrome asked 21/6, 2022 at 10:55
2
Solved
I am trying to make my second stage run even though one of the two jobs in the first stage fails, but I cannot get it to work as expected with the job status check function succeeded('JobName').
In...
Therron asked 23/11, 2021 at 20:1
3
Solved
trigger:
- develop
pool:
vmImage: windows-2019
- task: MSBuild@1
inputs:
solution: '**/*.sln'
- task: DownloadBuildArtifacts@1
inputs:
buildType: 'current'
downloadType: 'single'
itemPatte...
Daman asked 27/1, 2023 at 17:25
2
I am using a variables.yml file as a template to store different variables, and I was curious if I am able to reference variables within the yml file itself to essentially nest them.
For example:
#...
Nadabas asked 11/5, 2021 at 21:31
5
Solved
I have an issue with running a YAML based build pipeline on self-hosted agents. After the build is triggered, it gets stuck on Preparing an agent for the job - Waiting for the request to be queued....
Nigger asked 24/2, 2020 at 13:26
7
Solved
I'm looking for a way to define a variable in my azure-pipelines.yml file where I can substring the 'Build.SourceVersion' -> Use the first 7 characters only.
Seems like there is no build-in funct...
Pskov asked 12/6, 2020 at 12:4
2
Solved
When creating a release pipeline via the UI (Release) in Azure Devops you have the option cancel previous release.
How can i create this with YAML in my release pipeline, now as you can see al t...
Schweiz asked 13/2, 2020 at 16:10
7
Solved
Azure Pipelines has Expressions and Conditions, but I can find no way to assign one of two values to a variable, based on a condition.
Is there any way to accomplish what this pseudo-code would?
...
Health asked 16/8, 2019 at 23:27
6
Solved
I have run in to an odd problem after converting a bunch of my YAML pipelines to use templates for holding job logic as well as for defining my pipeline variables. The pipelines run perfectly fine,...
Kharif asked 17/8, 2021 at 14:36
3
Solved
I have set up several multi-staged build pipelines in Azure DevOps by using .yaml files. I've read about the "Release Pipelines" available, and I'm wondering what the benefits of those ar...
Sheepshanks asked 12/11, 2019 at 7:5
1 Next >
© 2022 - 2024 — McMap. All rights reserved.