I'm planing to migrate Jenkins1 multi-configuration (matrix) job to Jenkins2 pipeline (-as-Code) approaches,
but it seems the pipeline job and multi-branch pipeline job don't support multi-configuration (matrix) job directly.
What's the best practice to achieve this?
Assume my project has 100+ different models with some variants (debug, release, etc) to build,
and the only major difference among the build steps is
the first "Configure" step:
eg.
Configure --model $MODEL_NAME --variant $VARIANT
In Jenkins1,
I'm using multi-configuration (matrix) with 2 axis - MODEL_NAME and VARIANT to define the build.