Generate Parallel Work Programmatically
Build and execute a map of Scripted Pipeline closures.
A advanced Jenkins challenge worth 20 points. Solve it hands-on in a real Jenkins environment in your browser - no local setup, no fake shells.
The Challenge
Scenario: The check list is assembled dynamically, so fixed Declarative parallel branches are not suitable.
Requirements:
- Create a map named
checks - Add closure entries named
UnitandSmoke - Put the existing commands in their matching closures
- Execute the map with
parallel checks