Table of Contents
Matrix building with scripted pipeline
Screenshot of matrix pipeline
Adding static choices
Adding dynamic choices
Full pipeline example with dynamic choices
Background: How does it work?
Exposing a shared library pipeline step
With the recent announcement about matrix building you can perform
with declarative pipeline. However, if you must use scripted pipeline, then
I’m going to cover how to matrix build platforms and tools using scripted
pipeline. The examples...
I often find myself needing to run the same actions on a bunch of different configurations.
Up to now, that meant I had to make multiple copies of the same stages in my pipelines.
When I needed to make changes, I had to make the same changes in multiple places throughout my pipeline.
Maintaining even a small number of configuration was difficult for larger pipelines.
Declarative Pipeline 1.5.0-beta1...
Meet us at FOSDEM!
There will be a Jenkins stand on Feb 01-02, CI/CD devroom on Feb 02, Jenkins Contributor Summit on Jan 30 and Jenkins / Jenkins X trainings on Jan 30.