Linked Questions
11 questions linked to/from How can I trigger another job from a jenkins pipeline (jenkinsfile) with GitHub Org Plugin?
6 votes
2 answers
16k views
Jenkins groovy pipeline - calling build step for another pipeline
edit: according to Andrew Bayer you're not supposed to inject declarative pipelines in to others. Support might come for it in the future but not might not come at all. I'm currently trying to start ...
3 votes
2 answers
5k views
How to programmatically trigger a specific jenkins build managed via github-organization?
I am using the github-organization plugin to manage jenkins jobs from github but I discovered that Jenkins API does not report these builds. In fact the API list the entire organization as a single ...
1 vote
1 answer
5k views
Access environment variable of Jenkins Pipeline inside a Job
How can I pass the Build Number of my Jenkins Pipeline to a job. I have a pipeline which builds jobs in the following order- a --> b --> c --> d I have to pass the build number of Pipeline itself to ...
0 votes
1 answer
3k views
How to run one job on controller node and another on agent node
I have 2 Jenkins jobs configured. One is parameterized web hook enabled job which has instructions to invoke another job which is multi-branch pipeline job. So when first job is executed, it will ...
3 votes
0 answers
3k views
Run multiple jenkins jobs in sequence with jenkins pipeline
Gurus, I have 4 jenkins jobs which I am triggering based on success and failure of previous job execution status. Is there any way I can combine all the 4 jobs in a jenkins pipeline and have the same ...
0 votes
0 answers
1k views
Jenkins access parameters from upstream in pipeline script
I have Upstream job A, passing "workspace" parameter to upstream job A. So, if job A triggers job B, it should use the job A specified workspace. The job B also needs to run independently, ...
0 votes
1 answer
1k views
Jenkins CI workflow with separate build and automated test both in source control
I am trying to improve our continuous integration process using Jenkins and our source control system (currently svn, but git soon). Maybe I am thinking about this overly complicated, or maybe I have ...
2 votes
2 answers
492 views
How to add job build params in Jenkins shared Library?
This works steps.build "Job Name" This doesn't work steps.build "Job Name -p ParamKey1=ParamValue1 -p ParamKey2=ParamValue2" I also tried this but no luck steps.build "...
1 vote
1 answer
292 views
Jenkins how to email the status of a view which contains multiple jobs
I want to email the status of a view in Jenkins. Basically i have multiple jobs around 50 running.i know we can specially go to each job & trigger a mail status if it passes or fails but i want to ...
0 votes
0 answers
259 views
Multi-package Python project release pipeline
I have 3 projects (Git) which translates into 3 different Python packages. Each package has it's own life cycle which I already facilitated (e.g. Build -> Lint -> Unit test -> Integration tests -> ...
3 votes
0 answers
251 views
Jenkins script that returns a pipeline?
Is it possible to create a pipeline inside a groovy script via a function call? If I have a script such as: def call() { pipeline { agent any stages { ... } } } then I can call this ...