It would be great to be able to declare a Matrix Combination Parameter in declarative pipeline. Code like this (found at https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.helpers.BuildParametersContext.matrixCombinationsParam) does not work:
Or maybe it is currently somehow achievable via '$class' and 'MatrixCombinationsParameterDefinition' (if yes, then this should be documented)?
The code above leads to:
Also don't know how to use the approach with 'properties' above to extend the set of parameters with a new MatrixCombinationsParameterDefinition one instead of overwriting the entire parameter list.