Created
May 17, 2017 17:27
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- defaults: &single_node_defaults | |
name: single_node_defaults | |
node: 'component' | |
#product_version: ['7', '8'] | |
product_version: !!python/tuple ['7', '8'] | |
# nether of this would be working, instead of getting multiple jobs we get something like "foobar-('7', '8')-pep8" | |
- job-template: | |
name: '{component}-{product_version}-{tester}' | |
- project: | |
name: xxx-jobs | |
defaults: single_node_defaults | |
# next line work as expected | |
#product_version: ['7', '8'] | |
jobs: | |
- '{component}-{product_version}-{tester}': | |
component: foobar | |
tester: | |
- 'pep8' | |
- 'unit' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment