-
Notifications
You must be signed in to change notification settings - Fork 257
Description
It seems there is no way to use (even a constant) variable for a matrix's axis values.
To be perfectly clear, I am not looking for a dynamic list. There are a number of tickets open on that already which explain why that is difficult to do.
All that I am trying to do is DRY out a duplicated list for values so that I can change the list in one place in the Jenkinsfile and use it in multiple matrixes in the same Jenkinsfile.
Originally reported by brianjmurrell, imported from: Cannot DRY list of matrix axis values
- status: Open
- priority: Major
- component(s): pipeline-model-definition-plugin
- resolution: Unresolved
- votes: 1
- watchers: 5
- imported: 2025-12-06
Raw content of original issue
It seems there is no way to use (even a constant) variable for a matrix's axis values.
To be perfectly clear, I am not looking for a dynamic list. There are a number of tickets open on that already which explain why that is difficult to do.
All that I am trying to do is DRY out a duplicated list for values so that I can change the list in one place in the Jenkinsfile and use it in multiple matrixes in the same Jenkinsfile.