Aggregation of jenkins pipelines

888 Views Asked by At

The Jenkins pipeline plugin is awesome. But is it also possible to aggregate pipelines of (dependent projects) e.g. micro-services?

2

There are 2 best solutions below

0
Daniel Majano On BEST ANSWER

You can use the way that @ebnius says where you have little pipeline jobs and a parent which is orchestrating the complete workflow and calling the different pipelines.

Or you can use the Shared Library plugin (https://jenkins.io/doc/book/pipeline/shared-libraries/) where you define a step per groovy file for example and you have the entire structure modularized.

2
ebnius On

If you have separate jobs that run pipelines you could just call build [job name] to invoke subsequent pipelines