Questions tagged [build-pipeline]
161 questions
24
votes
3 answers
azure devops build pipeline reduce the timeout to 30 minutes
Is there a way to change the timeout for build pipeline, currently the pipeline time's out after 60 mintues. I want to reduce it to 30 minutes.
I looked at all the organization settings and project settings, but not able to find anything on the…

harishr
- 17,807
- 9
- 78
- 125
16
votes
0 answers
Retrying 'FindPackagesByIdAsync' for source
I have a dotnet core project which builds fine locally but throws the following error many times:
Retrying 'FindPackagesByIdAsync' for source…

Matt W
- 11,753
- 25
- 118
- 215
13
votes
1 answer
How to publish WinForms .NET Desktop application with Azure DevOps Pipeline?
I am trying to cerate Azure DevOps Build pipeline for WinForms desktop app and the problem is I can't publish the app and also can't cerate the build artifact.
I have created one WinForms desktop application and trying to create continuous…

Sulay Joshi
- 195
- 2
- 9
10
votes
1 answer
How to create a build pipeline for Blazor WebAssembly Hosted app on Azure DevOps that publishes the server project not the client?
I'm trying to deploy a Blazor WASM Hosted app from our Git repo on our DevOps server using a DevOps Build pipeline and a separate release pipeline.
The project comprises of a Server project and a Client project (as per the standard structure created…

tomRedox
- 28,092
- 24
- 117
- 154
10
votes
1 answer
How to pass variable from build to release in azure build to release pipeline
How to pass variable from build to release in azure build to release pipeline:
We have variable in CI pipeline --> we have to pass that variable in Release pipeline--> that variable has to set in another yaml file.
is this possible?

Venki
- 225
- 4
- 14
10
votes
1 answer
NPM "Unexpected end of JSON input while parsing near" in build pipeline
context
NPM version : 8.9.4
npm version : 6.9.0
We are using azure devops build pipelines with windows vs2017 hosted agents
problem
every ~ 1 in 10 builds Fails with the following error:
error
verbose stack SyntaxError: Unexpected end of JSON …

CIPan
- 101
- 5
7
votes
1 answer
How to update a system capability in a build agent in vsts?
I want to upgrade 'java_home' capability in my build agent to jdk8 as this is required to integrate 'Sonarqube Analysis' in my CI build .
How can I update the same in vsts ?
I would like to either change the path for java_home (but that seems…

Raq
- 433
- 1
- 7
- 20
7
votes
5 answers
Changing Maven pom.xml values physically
I'm building a deployment pipeline for a couple of projects that depend on each other. Each build produces a new release build with a unique version number, which is deployed to a Maven repository. The downstream projects in the pipeline are then…

Esko Luontola
- 73,184
- 17
- 117
- 128
6
votes
1 answer
xUnit tests run locally but not on Azure DevOps
I have xUnit tests which run fine locally but do not get run on Azure DevOps. The assembly under test is a .NET 5.0 assembly as is the test assembly.
Examining the log file from the VsTest task, I see the following
Test run detected DLL(s) which…

Tim
- 1,621
- 4
- 19
- 35
6
votes
2 answers
Angular (8) application build once (with production config) and deploy to multiple environments
I have a situation where I’m trying to build my angular application with production config and deploy to multiple environments, say, ng build --configuration=production
The work flow here is when I build using the above command (ng build…

Ananth Asamani
- 207
- 2
- 15
5
votes
1 answer
Copy File task failed with the error of Unhandled: Not found SourceFolder
I am very new CI/CD domain of Aure Dev Ops. So I Created a test ASP.NET MVC application. I checkedin the application in git repo at visual studio online.
My build pipeline is working fine, but the ms build configuration of where my published files…

Muhammad Arslan Jamshaid
- 1,077
- 8
- 27
- 48
5
votes
1 answer
Deploy a web app to Azure App Services - Using a Resource Manager connection
I have an Azure pipeline which builds an asp-net core project and build from it a docker image and push it to Azure Container Registry.
This pipeline is made from an azure-pipelines.acr.yml file. Each git push operation that I perform to my…

bgarcial
- 2,915
- 10
- 56
- 123
5
votes
2 answers
Openshift CLI - update Application with template and oc new-app
I am currently building and deploying an Application with a template using
oc new-app -f ./openshift/template.yaml
I am using a template and not separate Deployment-, Build-, etc. configs because I also want to be able to pass parameters like
oc…

relief.melone
- 3,042
- 1
- 28
- 57
5
votes
2 answers
Set VSTS build and release to ignore specific folder of projects
I'm building a .net core asp.net application on VSTS in the cloud. When setting this up it differs from my other build pipeline for the .net framework in that you don't select a solution you want to build but instead provide relative (wildcard)…

JensB
- 6,663
- 2
- 55
- 94
5
votes
2 answers
Jenkins Build Pipeline with incremental Gradle builds
Take this basic build pipeline (with gradle tasks):
Compile/Run Unit tests (gradle clean build)
Integration tests (gradle integrationTest)
Acceptance tests (gradle acceptanceTest)
Deploy (gradle myCustomDeployTask)
According to Jez Humble's…

smgeorge99
- 51
- 1
- 2