➢ 根据需求,在【矩阵】中填写配置参数进行矩阵计算,流水线执行时将根据参数组合实例化多个Job,值格式为 Object<String, List<String>>,YAML语法。配置示例:
PLATFORM: [ linux, windows, mac ]
BROWSER: [ firefox, chrome, safari ]
执行时将实例化以下组合:
[PLATFORM=linux, BROWSER=firefox]
[PLATFORM=windows, BROWSER=firefox]
[PLATFORM=mac, BROWSER=firefox]
[PLATFORM=linux, BROWSER=chrome]
[PLATFORM=windows, BROWSER=chrome]
[PLATFORM=mac, BROWSER=chrome]
[PLATFORM=windows, BROWSER=safari]
[PLATFORM=mac, BROWSER=safari]
[PLATFORM=windows, BROWSER=safari]