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...
FOSDEM is a free event for software developers to meet, share ideas and collaborate. Visit us at the Jenkins stand.
SCaLE is the largest community-run open-source and free software conference in North America. Visit us at the Jenkins booth!