Questions tagged [build-pipeline]
161 questions
2
votes
1 answer
Azure ADO Build Pipeline failed due to brown out of ubuntu 16.04
My pipelines refer to ubuntu-latest pool, but I'm getting this error about Ubuntu 16.04
The docs state that ubuntu-latest is an alias for…

Nico
- 1,094
- 13
- 17
2
votes
1 answer
Azure DevOps: How to execute Build Task only after PR has been reviewed and approved?
I may have some expensive tasks/tests and a PR that has not been reviewed could require additional changes.
I don't want to run those expensive tasks for every commit or minor change but only after such changes have been reviewed and approved.
These…

mdarefull
- 829
- 2
- 14
- 24
2
votes
1 answer
How to authenticate azure devops pipeline , so that pipeline can restore yarn packages successfully
My application uses an yarn package which is installed in local after authentication.Registry url is specified in .npmrc file. Now my build pipeline fails, and says "Package restore failed" (Request failed "401 Unauthorized""). How to authenticate…

Deepak Kothari
- 1,601
- 24
- 31
2
votes
2 answers
##[error]Unhandled: handle is not a Buffer CopyFilesOverSSH in Azure DevOps build pipeline
We are trying to deploy file to remote server using CopyFilesOverSSH service Copy Files Over SSH task
in Azure DevOps through build pipeline but getting error which is "##[error]Unhandled: handle is not a Buffer" see below image (Error). Even…

hirenpatel
- 47
- 1
- 7
2
votes
1 answer
How to create dependencies between 2 build pipelines in Azure DevOps and link a work item to build pipeline?
The second build pipeline should be dependable on first build pipeline and the work item should relate to the build pipeline for keeping track.

Siddhi Kamat
- 135
- 2
- 11
2
votes
1 answer
Addition of On-Demand Resources from terminal
I am currently able to use On-Demand Resources in my iOS App but I have to perform a series of manual steps:
Add ODR resources manually in XCode
Manually tag them in XCode
Archive the App in order to generate the bundles that will be submitted to…

Gabe
- 5,997
- 5
- 46
- 92
2
votes
1 answer
Azure Devops Pipeline trigger ignore paths when a tag is triggered
I have two build pipelines which build my client and API, but when I create a new git tag, both builds are triggered, even though the tag may only related to changes based on my client code.
front-end-build-ci.yml
trigger:
branches:
…

Gary James
- 324
- 3
- 11
2
votes
1 answer
Migrating yaml build and classic release pipelines to multi-stage yaml
I'm looking at migrating my old CI/ CD pipelines which are a mixture of the new YAML pipelines for builds and the 'classic' UI-based Releases pipelines into a multi-stage, environment-based YAML file, but I'm struggling to find the docs/ examples…

Kieron
- 26,748
- 16
- 78
- 122
2
votes
1 answer
On Azure DevOps, I cannot find an example that explains how to automatically run unit test projects as part of the build pipeline for .NET Core
If there is more information needed, let me know in the comments.
Automated testing is supposedly supported fairly readily in Azure DevOps, by way of adding one or more tasks to your pipeline, which can be triggered after pushing new commits and…

Panzercrisis
- 4,590
- 6
- 46
- 85
2
votes
1 answer
Azure DevOps restore packages from multiple sources on build pipeline
Today, I was trying to fix the build pipeline from multiple sources on NuGet restore stage and had trouble finding the right settings to use.
I have packages in three different sources,
Public Nuget
Private Azure DevOps artifacts.

Venkata K. C. Tata
- 5,539
- 4
- 22
- 35
2
votes
2 answers
Azure DevOps Pipeline Definitions: How to switch between GUI and yml views
I'm trying to determine if there is a way to switch between the UI and yml views within Azure DevOps Build and Release Pipeline definitions.
I like the yml view because I have a version controlled build process. However, sometimes the UI view is…

SJB
- 177
- 1
- 9
2
votes
3 answers
How to trigger azure devops build pipeline based on the commit message?
How can I get a build triggered off of a specific commit?
I am building an Azure Devops project. the project has both UI and Backend application codes. Both the codes are placed as a single project in GitLab. But different teams are working for UI…

Leo Varghese
- 165
- 1
- 2
- 12
2
votes
1 answer
Passing output variables between Azure Devops build pipeline steps, for example 7 digit git hash
I am trying to include the 7-digit git hash in the artifact name built by my Azure Devops build pipeline. In my build agent job I have an inline powershell script with the following lines:
$commitId = "$(Build.SourceVersion)"
$shortCommitId =…

erik
- 509
- 6
- 16
2
votes
1 answer
Two projects in one repository
I use Azure DevOps Pipelines with GitVersion.
I have one git repository with two projects in…

XdX Software
- 73
- 1
- 5
2
votes
1 answer
Azure Build Pipeline: How to include additional project in artifact?
My solution has 2 projects: 1 web application and a console application. The console application should run every 15 minutes.
Ideally I want to put the build output (binaries) of the console application inside the web application folder:…

dvops86
- 23
- 2