Questions tagged [build-pipeline]
161 questions
4
votes
1 answer
Check outdated nuget packages in DevOps pipeline
I'm trying to check for outdated packages in one of our build pipelines. What complicates matters is that we're using packages coming from nuget.org as well as packages from our own repository (DevOps artifact feed). These sources are configured in…

DJ van Dijk
- 61
- 7
4
votes
1 answer
Azure Devops Build Pipeline from PR Trigger get source branch
So ive been building a build pipeline, that is triggered whenever a pull request is done to master, so we have a branch policy such that the only change to the master branch is through pull requests.
I want the build pipeline to checkout the source…

Shadesfear
- 749
- 4
- 17
4
votes
2 answers
Build Fails with "Error:The process '/usr/bin/dotnet' failed with exit code 1" after adding "no-build:true" in the dotnet pack command
The CI pipeline works well if I remove the nobuild:true option from the DotNetCoreCLI@2 task to pack the Project (ie to create a NuGet package) but I am not able to understand what special except not building the project does the nobuild option…

Shubhanshu Rastogi
- 2,133
- 1
- 20
- 30
3
votes
2 answers
Error starting build - Android build failing on App Center
My AppCenter Android build pipeline started failing all of a sudden. Not much information other than "Error starting build" title and "Could not queue the build because there were validation errors or warnings." as body. Just FYI, the android…

Kamrul
- 7,175
- 3
- 31
- 31
3
votes
1 answer
Sonar Scanner error in Azure DevOps - ERROR : Not authorized. Please check the properties sonar.login and sonar.password
I’m trying to integrate SonarQube with Azure Devops. I have done the configuration in the SonarQube administrator ( Administration > Configuration > General Settings > ALM Integrations , select the Azure DevOps tab, and click the Create…

shaik idris
- 31
- 1
- 2
3
votes
2 answers
Azure DevOps Pipeline: Showing code coverage report for python project
I am trying to get code coverage results to show up on the pipeline run summary tab. To debug this, I used a sample project with the following pipeline.yaml file:
trigger:
- master
pool:
vmImage: ubuntu-latest
steps:
- task: UsePythonVersion@0
…

cyanic
- 31
- 1
- 3
3
votes
1 answer
Azure pipelines encountered error(s) while parsing pipeline YAML (Unique Job Name)
In my azure devops project, I have created a pipeline using template. This is the main yaml files for my build pipeline
name: Test-$(Date:yyyyMMdd)$(Rev:.r)
resources:
repositories:
- repository: api
type: git
name: porject/api
…

french_dev
- 2,117
- 10
- 44
- 85
3
votes
1 answer
Azure build pipeline - Get sources - clean - what is the difference between `Sources` and `Sources directory`?
In azure build pipeline, under Get Sources suppose clean is set to true, then you need to choose one of the following:
Sources
Sources and output directory
Sources directory
All build directories
Following is the difference between Sources and…

variable
- 8,262
- 9
- 95
- 215
3
votes
2 answers
Script EF6 Migrations in Azure Devops
I have an EF6 project that I would like to generate a script for migrations. Locally, I just run update-database - script, but I would like to create a build pipeline that generates a script for this, and later a deployment pipeline that executes…

Ashley Edds
- 123
- 1
- 8
3
votes
1 answer
Where should I run tests at build or release pipeline?
I'm trying to set up a build and release pipeline, but I saw that it is possible to run visual studio tests in a build pipeline as well as in a release pipeline. Does anybody have a advice which one I should choose?

Achraf C.
- 427
- 3
- 11
3
votes
0 answers
Azure DevOps: Bypass Branch Policies is not working on new branch
Due to a quirk of out build process I need to update a file in the build branch during the build process. As I have Pull Request Branch Policies set and created a specific account for the build process and gave it "Bypass polices when pushing"…

Robert McCabe
- 495
- 1
- 4
- 21
3
votes
2 answers
(Unity) Enabling App Bundle (Google Play) option when building with the BuildPipeline?
Does anyone know how I can enable the App Bundle (Google Play) option when building with the Unity BuildPipeline? Trying to get this to work with our CI server, this is the code currently used to create an APK:
BuildPlayerOptions…

Thomas Maw
- 405
- 4
- 10
3
votes
1 answer
Increase Angular6 Library version automatically in DevOps
I am building an Angular Library to be used in other Angular Applications. I want to create a build pipeline in DevOps (VSTS) so after each commit to git, the library will be built and published as Artefacts to be used.
Till now everything works…

Samy Sammour
- 2,298
- 2
- 31
- 66
3
votes
1 answer
extend build-pipeline of angular-cli
Can i extend the build-process of angular-cli without rewriting angular-cli itself? Like in the old days, when i wrote my gulp/grunt tasks for the build-process and i could change everything i wanted.
I want to change the default build-system of the…

Arthur Helmel
- 421
- 1
- 4
- 5
2
votes
1 answer
Jenkins - discard/keep artifacts of a parameterized build
In Jenkins (or Hudson), I set up a pipeline of parameterized jobs, say A -> B, that copy artifacts from each other using the Copy Artifact Plugin. All jobs use the same parameter, e.g. the target platform. Each job is set to discard old builds and…

Martijn Rutten
- 763
- 6
- 14