Skip to main content

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.

azure-pipelines-yaml
0 votes
3 answers
40 views

Azure DevOps auto conversion of value to integer type in yaml

Given this Azure DevOps yaml for a test pipeline: trigger: - master pool: vmImage: ubuntu-latest parameters: - name: dotnetVersion type: string default: '8.0' - name: build_config ...
ossentoo's user avatar
  • 1,887
-4 votes
1 answer
52 views

Is there any way to create reusable and scalable build and deployment pipeline(s) for similar services in an Azure DevOps environment? [closed]

and apoligies in advance for not being able to keep this any shorter. I'm working with my team on a relatively large structure of related services (/ microservices) all hosted on Docker containers, ...
Morten's user avatar
  • 1
0 votes
1 answer
55 views

Azure DevOps YAML - can I trigger a job on another agent?

Currently my DevOps pipeline uses two servers to run things in parallel: jobBuildAll on server 1: build Debug version run all unit tests jobBuildAll on server 2: build Release version run static ...
HaraldJ's user avatar
  • 23
0 votes
1 answer
58 views

Show which task is currently running in ADO pipeline summary page for a externally managed template

In my Azure Devops pipeline, I am using a template which is stored in a repository where I have only read access (it is managed by another team). Given template has this structure: - stage - job ...
fascynacja's user avatar
  • 2,456
1 vote
2 answers
97 views

Passing artifacts between pipelines

The DependantPipeline (which is triggered by the another pipeline: MainPipeline) causes errors on Azure DevOps: Download Pipeline artifact Starting: Download Pipeline artifact Download from the ...
Kreg's user avatar
  • 35
0 votes
3 answers
67 views

Read a variable from a .ps1 file and run a .ps1 script inside Pipeline with Git Repo

I am using Azure DevOps repos, and I am working on a pipeline. I want it to read a variable from config.ps1 file and set a env variable with it. After that I want to run a powershell script. It gives ...
Tiago's user avatar
  • 3
0 votes
1 answer
52 views

Azure pipelines Docker@2 containerRegistry

In azure pipelines, I have a variable that's declared as follows variables: - name: acr_svc_conn In my pipeline, I set this value as shown - bash: | echo "##vso[task.setvariable variable=...
revwi's user avatar
  • 55
1 vote
2 answers
70 views

Dependant pipeline can't continue deployment

I have a pipeline (MainPipeline) which triggers another one (DependantPipeline). I want to have some basic task done in main pipeline (Build and Test stage) which are common for any triggered pipeline....
Kreg's user avatar
  • 35
0 votes
1 answer
69 views

Why does my Powershell variable not get set as expected when executing inline powershell in yaml task: AzureCLI@2?

Below errors occur when executing a DevOps pipeline using Yaml AzureCLI@2 task. ERROR: Insufficient privileges to complete the operation. ERROR: argument --assignee-object-id: expected one argument ...
Dean's user avatar
  • 21
0 votes
1 answer
41 views

Check run variables on an if statement

I am trying to check the value of a variable that is set when running. I guess that is getting empty value. My try: variables: - name: MailPass ${{ if eq( variables['SendMail'], 'Yes' ) }}: ...
toscanelli's user avatar
  • 1,233
0 votes
1 answer
68 views

Unable to set the customized product version in Azure DevOps pipeline [closed]

I'm trying to set the Product version as follows: Major version-1 Minor version-0 Revision – builddate YYYYMMDD, build-on the days count (1,2,3) but after pipeline execution it is getting overridden ...
beena's user avatar
  • 3
1 vote
1 answer
69 views

Azure Pipelines: push was rejected because one or more commits contain author email '' which does not match the policy-specified patterns

Azure Pipeline: I'm running into an issue while trying to build and release microservices using the Maven commands mvn release:prepare release:perform. The pipeline throws the following error: error: ...
Dev0001's user avatar
  • 43
0 votes
1 answer
64 views

How to git diff on an Azure DevOps CI pipeline with more than one repository

There are a few helpful [questions and answers][1] online, [1]: How to git diff on a Azure CI pipeline, but they seem to be working in a single-repository environment. I'm using one git repository for ...
HaraldJ's user avatar
  • 23
1 vote
3 answers
104 views

Azure Devops // Service Connection // Terraform // Yaml Pipeline -> Build Error

I have setup a whole bunch of files for deploying a simple VM, but trying to use the ADO Service Connection setup in the projec, avoiding to hardcode secrets, however after multiple tries still ...
jma's user avatar
  • 29
1 vote
1 answer
66 views

.NET Core SDK/runtime 2.2 and 3.0 are now End of Life(EOL) and have been removed from all hosted agents

Updated my application to .NET 8. Getting an error in Azure pipeline. YAML looks like this steps: - task: UseDotNet@2 displayName: 'Install .NET Core runtime' inputs: packageType: &...
user2645738's user avatar

15 30 50 per page
1
2 3 4 5
116