Questions tagged [pipeline]
The pipeline tag has no usage guidance.
28
questions
0
votes
0
answers
10
views
Get all modified files with pipeline and Jenkins
I'm trying to get all changed files in repository, by running bash script inside Jenkins pipeline
sh '''#!/bin/bash
files=($(git whatchanged --name-only --pretty="" origin..HEAD))
'''
But ...
0
votes
0
answers
8
views
Concourse Pipeline Not Retrieving Configuration Values from AWS Secrets Manager
I'm experiencing an issue where my Concourse pipeline isn't picking up configuration values from AWS Secrets Manager. I have set everything up according to the documentation, ensured the necessary IAM ...
0
votes
1
answer
309
views
GitLab CI: How to properly push file to a repo using ci file?
I'm trying to setup a GitLab CI pipeline which runs a script (convert-inventory-format.sh) that update a yaml file. I would then like to commit that file to a Git repository and push it.
However, the ...
0
votes
1
answer
31
views
Queue jenkins job task in azure pipeline won't complete
I have set up an azure devops pipeline with a single task - to queue a jenkins build job. The jenkins job is a parameterised pipeline build. The job queues and runs as expected in Jenkins. I would ...
0
votes
1
answer
76
views
How to specify ANY for tags in the yaml file for pipelines
In my pipeline definition, for getting resources from other pipeline, I'd like to define a default tags value to use, such as "release candidate", but allow to select to use any tags or even ...
2
votes
1
answer
109
views
Best practice multiple pipelines into production
Working with a larger corporate. They are planning on opening a second pipeline for a hybrid mobile app. This second pipeline will be for hotfixes straight into production. My gut feeling is that this ...
0
votes
1
answer
50
views
How widespread, used is CWL, common workflow language?
Trying to get an overview of different languages and software for workflows and data pipelines--and thus 'data engineering'--I stumbled upon Common Workflow Language. I thought, well, how common is ...
0
votes
0
answers
75
views
Azure DevOps: Track build status for commits in mutliple repositories pipeline
I have a multi-repo pipeline
Can azure track build status for commits for repositories other than the self repo that contains the azure-pipelines.yaml file?
Ie, when a commit is built in another ...
0
votes
0
answers
299
views
Add a job to a Gitlab pipeline if a tools exit code is 0
I would like to add a job to a pipeline in Gitlab, but only if a tool, e.g. Maven, exits with exit code 0.
For example, I would like to run the job for integration tests only if a given profile exists....
0
votes
1
answer
473
views
Stage Parallelization in Jenkins declarative pipelines
I am trying to get a Jenkins (2.204.2) declarative pipeline to run parallel stages generated into a map on different machines. I am aware it can be done by mixing in the script block and I have done ...
0
votes
1
answer
29
views
build pipeline with repository: is it advisable to build both on repo and end server
I am doing a classic build with install (pip/python), lint,test,format on my github repository with github actions, then deploying with ssh (copying the repo on server and deploying with docker/docker-...
1
vote
1
answer
907
views
Setting up gitlab phpstan pipeline
I have tried to start using phpstan pipeline on gitlab according to this guide.
The problem is that the pipeline does not work at all (Command 'sh' is not defined) and i don't know how to fix it.
Here ...
1
vote
1
answer
61
views
Does GitLab support assigning a reviewer based on the contributor?
My company has the notion of a Senior Tier of developers. These developers are dispersed amongst development teams. Then we assign the Senior Developers from one team to assess the contribution from a ...
1
vote
1
answer
6k
views
Read and parse json file from workspace on slave node
I have a Jenkins job which runs on a slave node on another machine, both master and slave run on windows. The slave node is being run as a windows service. I am unable to read a json file from ...
4
votes
0
answers
4k
views
Gitlab : Download artifacts from a job in another child pipeline
I want to download an Artifact in a job present in a Child pipeline from another job present in another Child pipeline part of the same parent-child pipeline hierarchy.
I tried with the files below ...
1
vote
1
answer
5k
views
how to create dynamic stages in jenkins pipeline
I want to use a python script as input to create stages in jenkins pipeline
test.py
{'job-name': 'Test1', 'action': 'a', 'targetname': 'x'}
{'job-name': 'Test2', 'action': 'b', 'targetname': 'y'}
{'...
0
votes
0
answers
3k
views
how to execute a python script in jenkins pipeline as a stage and use the output of python script to declare further stages in pipeline as next stage
I have written a python script which provides me a output like this as a dictionary,
test.py:
{'job-name': 'Test1', 'action': 'a', 'targetname': 'x'}
{'job-name': 'Test2', 'action': 'b', 'targetname': ...
4
votes
1
answer
967
views
Gitlab CI: change pipeline definition dynamically
I need to pass info from stage A to stage B so I can change stage B dynamically.
Details:
I have a stage (A) where I validate a terraform plan and check if
it's going to destroy resources.
I have ...
2
votes
1
answer
753
views
How do I fail a gitlab pipeline job?
I am currently using dependency checker to scan my applications via gitlab
This is how my pipeline looks like.
dependency_scanning:
stage: security_scan
script:
# Run dependency check on all ...
3
votes
2
answers
3k
views
Jenkins pipeline : How can I display a downstream / upstream relationship?
I have a pipeline that ends with a step which call build() to run another pipeline, not waiting for its end.
Even when the downstream pipeline is finished, there is no downstream/upstream indication ...
-1
votes
1
answer
1k
views
How to get ConsoleFull Output,changeLog of upstream job along with downstream jobs console full output and changeLog in jenkins pipeline jobs!
Lets say we have Jobs A , B , C ,D and E.
Job A triggers Job B ;
Job B triggers Job C;
Job C triggers Job D;,
Job D triggers Job E;
When one of the child job fails for example: Job c fails then email ...
2
votes
1
answer
533
views
What are ways to structure a webhook-triggered job that triggers a human-triggerable job?
I hope it's okay to ask for recommendations here. I'm very new to devops, and am trying to get into the headspace of involved technologies and workflows.
I've created a webhook in my Bitbucket project ...
0
votes
1
answer
822
views
Why are variables with fixed values not visible in Jenkins Pipeline stage?
I'm new to DevOps, and am cobbling together a beginner understanding from lots of reading, YouTube videos, and online examples.
I've had initial success adapting this helpful tutorial. I.e. in my ...
1
vote
1
answer
182
views
Azure Pipeline Parallelism option
I am new to azure pipelines, started learning & in the process of creating my very 1st yaml pipeline.
My project is private, I am using a multi-stage templated pipeline, self-hosted as need to ...
0
votes
1
answer
2k
views
java.lang.UnsupportedOperationException: no known implementation of class jenkins.tasks.SimpleBuildWrapper is named BuildUser in jenkins
I preparing script in Jenkins as below where I getting error while build job. This job is send email to user for input for next step.
[Pipeline] End of Pipeline
java.lang....
1
vote
0
answers
247
views
How to add multiple run in parallelStagesMap in declarative pipeline?
def jobs = [
[
"name" : "LegacyUnitTests",
"runFolder" : "recipes",
"run" : { -> sh "docker-compose -f docker-...
2
votes
1
answer
170
views
How to test pipeline changes in Azure?
I currently have a pipeline in Azure which consists of a bunch of YAML which eventually calls some terraform script to handle the deployment side.
What is the best way to handle dev testing of changes ...
3
votes
1
answer
2k
views
How to set up WordPress CI/CD pipeline
I am planning to create 3 environments for my website i.e. dev, stage, and production. I am using GitHub to manage the code. So for URLs dev.example.com, stage.example.com, and example.com, the ...