Build a Compatibility Matrix
Express multi-axis compatibility work with Declarative matrix syntax.
A intermediate Jenkins challenge worth 10 points. Solve it hands-on in a real Jenkins environment in your browser - no local setup, no fake shells.
The Challenge
Scenario: Compatibility tests for two supported Node release lines are duplicated and maintained by hand.
Requirements:
- Add a Declarative
matrixin Compatibility - Define axis
NODE_LINEwith values18and20 - Run each cell on
lab-linux - Clone the app and run its tests in every cell