jenkins-job-builder/tests/general/fixtures/matrix-axis-yaml-strategy-file.yaml
Antoine Musso 7b1c47711d Complete support of Yaml Axis Plugin
The plugin uses a different matrix execution strategy. I have refactored
the part of code assuming there is only one strategy.  The previous one
is known as 'default' and this change is back compatible.

Drop an error whenever more than one strategy is used.

Support exclude rules from either a file or inlined YAML (note in the
later case the YAML will need to be a literal string).

Tweak axis type documentation to reference both built-in axes and ones
provided by additional plugins.

Include three different examples for Yaml Axis which would help end
users understand how to add support for exclusion and or specificy the
exclusion as inlined Yaml.

Change-Id: I18e0fc7cb525fba3b772bae10e81d8dfce7298cb
2017-06-22 16:34:37 +02:00

15 lines
320 B
YAML

name: matrix-with-yaml-strategy-and-exclude-in-file
project-type: matrix
yaml-strategy:
exclude-key: 'exclude'
filename: 'exclude.yaml'
axes:
- axis:
type: yaml
filename: 'config.yaml'
name: python
- axis:
type: yaml
filename: 'config.yaml'
name: database