Questions tagged [pipeline]
The pipeline tag has no usage guidance.
21
questions
0
votes
0
answers
84
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
0
answers
23
views
how to authenticate with the openvpn which has microsoft authenticator time based OTP authenticatiopipeline?
I have a cluster in the AWS EKS. We are using OpenVPN to connect to the cluster namespace and to connect to OpenVPN, we enabled the Microsoft MFA authenticator (Time-based OTP).
The GitHub action ...
0
votes
1
answer
232
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
24
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-...
0
votes
1
answer
434
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
45
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
4k
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 ...
2
votes
0
answers
2k
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
3k
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
2k
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
573
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
531
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
2k
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
992
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
371
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
533
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
140
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
1k
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
168
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
93
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
1k
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 ...