Questions tagged [build-pipeline]
161 questions
1
vote
1 answer
Azure DevOps Pipeline double triggered when using branch policies and build validation
Since Azure DevOps Pipelines doesn't PR triggers for Azure Repos, you are supposed to use Branch Policies.
I have it setup so that you have to open a PR to merge to production and you can't push directly into production.
I also added a Build…

cjones
- 8,384
- 17
- 81
- 175
1
vote
2 answers
No plugin found for prefix 'help' in the current project
I am using azure build pipeline to package my code, & using maven to compile my code, however i am getting below error.
2021-03-02T09:38:48.1737056Z Downloading from central:…

Satyam Pandey
- 593
- 2
- 10
- 32
1
vote
3 answers
error build Pipeline DOESn't contain definition
i'm using unity 2019.4.3
and when I try to build the app for android it gives me this two errors:
1st error:
Library\PackageCache\com.unity.xr.management@4.0.1\Editor\XRGeneralBuildProcessor.cs(83,52): error CS0117: 'BuildPipeline' does not contain…

nour
- 19
- 1
- 3
1
vote
1 answer
Azure build pipeline sporadic error, [CredentialProvider]Device flow authentication failed
This happened maybe once every 2 weeks, but lately it happens a few times until the build succeeds once.
GET https://api.nuget.org/v3-flatcontainer/xamarin.uitest/3.0.9/xamarin.uitest.3.0.9.nupkg
##[error]C:\Program Files (x86)\Microsoft Visual…

RSxx
- 355
- 1
- 4
- 14
1
vote
1 answer
Blazor WebAssembly Azure DevOps build pipeline publish artifacts
We created a build pipeline yaml for our blazor webassembly project that includes a publish task. For some reason only the wwwroot folder items get generated into the drop folder, and all the other binaries that are normally located outside of the…

Chris Calvert
- 129
- 9
1
vote
1 answer
How to specifiy formating of time string in azure pipeline build number
From the documention you can format the build number for the azure devops build pipeline but the formating on the time isn't working for me.
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/run-number?view=azure-devops&tabs=yaml
I…

Tiny Montgomery
- 13
- 5
1
vote
1 answer
How to set value of variable group variable in TFS Build
In this thread the setting of a variable group variable in an Azure Devops build is discussed.
My question is if there is also a way to set the value of a variable group variable by a TFS Build.
To be concrete: I'd like to store the current value of…

MatterOfFact
- 1,253
- 2
- 18
- 49
1
vote
1 answer
Combine multiple queued Azure DevOps build pipeline jobs into one run
I have a custom Agent Pool with multiple Agents, each with the same capabilities. This Agent Pool is used to run many YAML build pipeline jobs called them A1, A2, A3, etc. Each of those A* jobs triggers a different YAML build pipeline job called B.…

Paul Grinberg
- 1,184
- 14
- 37
1
vote
3 answers
Upload changes from AzureDevOps git repo to private TFS server using Build/Release pipeline task
I have a GIT repository hosted on dev.azure.com(AzureDevops), and a local TFVC repository hosted on a private server(I do not have access to machine, I just have access to its Web Portal). Both have the same code.
I have created a build and release…

Vahid Farahmandian
- 6,081
- 7
- 42
- 62
1
vote
2 answers
Azure Devops Build Pipeline - Unexpected value stages
I'm refactoring a pipeline to use a stage as template so I don't have duplicate code in my test-publish build pipeline and release build pipeline. But I get the error which I commented in the following .yml lines.
resources:
- repo: self
clean:…

Matthias Herrmann
- 2,650
- 5
- 32
- 66
1
vote
1 answer
Fail pipeline when error is logged but pipeline pass
I am looking for a way to fail build pipeline when there are logged any errors. I have found many situations(npm, unit test, and other) when exception/errors/problems occurs causing in pipeline to log and show errors but build pipeline results in…

Kontekst
- 946
- 8
- 17
1
vote
1 answer
How to automatically trigger build on pull request in Azure DevOps?
I have created a build pipeline.
have master, develop and feature/* branches in my Azure repo.
I have created a branch policy to require a build for feature/* branches.
How do I trigger an automatic build on pull request? Or even how do I queue a…

nickornotto
- 1,946
- 4
- 36
- 68
1
vote
1 answer
Yaml script for adding timeoutinminutes in Build Pipeline VSTS
When I'm building my Test solution(set of unit test cases), I'm getting the following error, need to add timeoutinminutes in the below yaml script.
[Error 1]
The job running on agent Hosted Agent ran longer than the maximum time of 60 minutes.…

Ramasubramanyan Ramachandran
- 15
- 1
- 5
1
vote
1 answer
Replacement for "Team Foundation PowerTools" TFPT GETCS command using TF VC commands
I am using Azure DevOps Build/Release pipelines to duplicate PowerShell deployment scripts. Most of them use "Team Foundation PowerTools" TFPT GETCS command. In order to use the pipelines, I need to use TF VC commands.
Does anyone know of a…

AMissico
- 21,470
- 7
- 78
- 106
1
vote
1 answer
Release is triggered even though build does not publish artifact
Last week, our team decided to move all separate .NET projects into a single solution. Because we were already using Azure DevOps with separate build pipelines for each project, we looked into the possibility to only trigger builds whenever there…

Kazu
- 627
- 6
- 17