Questions tagged [build-pipeline]
161 questions
1
vote
1 answer
Verify alembic migrations in pipeline build
I have setup a build pipeline on Azure to execute pytests and such. In addition, I'd also like to check if no migrations have been missed.
Running the alembic command with --autogenerate will generate a new migration file in case it isn't there yet.…

wasp256
- 5,943
- 12
- 72
- 119
1
vote
1 answer
How to setup DevOps build for creat-react-app project with different environment vars depending on built branch?
We have a create-react-app project that gets some build parameters from the environment (e.g. Auth0 config), meaning that these environment variables affect the react build.
We're working on an Azure DevOps build pipeline for this project, and while…

Kjell Rilbe
- 1,331
- 14
- 39
1
vote
1 answer
Is there any way to add 3rd party programs / apps to this agent
As on the image it says "The following software is installed on machines in ....."
Is there any way to install my own or any other 3rd party softwares to install to this server.

user2728409
- 245
- 4
- 15
1
vote
0 answers
Jenkins Pipeline Plugin with Parallel jobs UI
I have an issue with my jenkins build pipeline whereby at each for in the pipeline, I see duplicate flows, which are never used. The pipeline runs correctly, and it's only a UI issue, but it'd kind of annoying and limits the number of builds I can…

smur89
- 329
- 1
- 3
- 15
1
vote
0 answers
How we can get console output in jenkins job 'createhosts' log output instead of showing build number in jenkins build pipeline project?
I wrote a pipeline script and in console output i need createhosts log output also instead of showing build number.
Script:
pipeline {
agent none
stages {
stage('create hosts') {
steps {
echo "Hello! ,…

srinivas
- 11
- 1
- 2
1
vote
1 answer
Create a Build Pipeline View based on Pipeline job using Job DSL plugin in Jenkins
Since there's a limitation in Jenkins Pipeline's that you cannot add a manual build step without hanging the build (see for example this stackoverflow question) I'm experimenting with a combination of Jenkins Pipeline and Build Pipeline Plugin using…

Johan
- 37,479
- 32
- 149
- 237
1
vote
2 answers
Is there any way to define an environment variable that is accessible across all stages of the IBM Bluemix DevOps Build pipeline
Would anyone know if there is any magic way to define an env variable that could be accessed from all stages of the DevOps build pipeline?
So far, it seems the only thing you can do is to define env variables shared by all jobs inside the same…

Johan Mereaux
- 143
- 11
1
vote
1 answer
Aggregating SonarQube code coverage results across multiple stages of a build pipeline
Let's assume I've constructed a (very simple) build pipeline in Jenkins into two jobs:
Compile-and-unit-tests
Integration tests
I'd ideally like to get code coverage from both sets of tests into SonarQube. Is this possible? It seems like…

Richard Steele
- 2,227
- 1
- 15
- 14
1
vote
1 answer
Jenkins - skip a upstream project in build pipeline
I am trying to set up a complex build pipeline, the dependency graph is shown as below.
Prj-A
|
Prj-B
/ | \
Prj-C Prj-D Prj-E
| | |
| | |
| | |
--------------
|
Prj-F
The…

Mingjiang Shi
- 7,415
- 2
- 26
- 31
0
votes
0 answers
When creating a YAML Azure DevOps build pipeline, should the DotNetCoreCLI tasks work for .Net Framework, ,Net Core and .Net solutions?
When creating an Azure DevOps build pipeline, should the DotNetCoreCLI tasks work for .Net Framework, Net Core and .Net solutions?
Thanks

kevins1966
- 366
- 2
- 4
- 19
0
votes
0 answers
How to Disable Build Validation when there is a commit to the source branch in the PR
I have a master branch and which has build validation (2 pipelines, optional and mandatory) branch policy.
I created a PR from my working branch to the master. At this time, 2 pipelines as part of build validation executed. That is ok.
But whenever…

Arya
- 1
- 2
0
votes
1 answer
How to specity workspace clean for hosted agents in Azure DevOps build pipeline for Pipeline with steps and one implicit job?
I am trying to clean the DevOps workspace as described here (Pipeline with Steps and one implicit job)
From what I see, I should add a workspace: row in the YAML, but when I follow the instruction I get an error saying
Unexpected value…

Ing. Luca Stucchi
- 3,070
- 6
- 36
- 58
0
votes
1 answer
Update build number of a pipeline with respect to another pipeline
I have a build pipeline, say, Pipeline 1 whose build number is in $(Year:yy)$(DayOfYear)$(Rev:.r) format. I've created a copy of Pipeline 1, say Pipeline 2.
Now, when I push anything to those pipelines, build number is independent of each other,…

Suyash Gupta
- 546
- 10
- 31
0
votes
0 answers
Getting error at NPM publish stage - Your cache folder contains root-owned files
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 1000:1000…

Sandeep Kokate
- 825
- 4
- 16
0
votes
0 answers
Jenkins - Build Pipeline plugins icon not showing properly
I am installing build pipeline plugins but icon showing broken. Same error in docker, manual installation of jenkins and using tomcat9.
Kindly help me to solve this error.
THANKS IN ADVANCE.
I install jenkins using docker, tomcat and manual

Deepak Sharma
- 21
- 3