Questions tagged [pipeline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 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
0answers
21 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': ...
0
votes
0answers
20 views

gitlab pipeline: cannot pass $CI_REPOSITORY_URL to downstream pipeline

I have a job in a cicd pipeline which needs to start a pipeline in a different project and reference the calling project. I have created a job like this: deploy: variables: PROJECTURL: $...
0
votes
0answers
16 views

What is the best approarch for global variables in Jenkins?

I have a project with several pipelines, each one for one microservice and its 'dev' branch counterpart. I was wondering thares a way of declaring these variables globally in the Jenkins pipeline, so ...
3
votes
1answer
57 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
1answer
123 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 ...
2
votes
1answer
68 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
1answer
202 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
1answer
93 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
1answer
76 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
0answers
60 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
1answer
108 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
0answers
39 views

How to add multiple run in parallelStagesMap in declarative pipeline?

def jobs = [ [ "name" : "LegacyUnitTests", "runFolder" : "recipes", "run" : { -> sh "docker-compose -f docker-...
1
vote
0answers
26 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
1answer
707 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 ...