diff options
author | Antoine Musso <hashar@free.fr> | 2016-05-30 21:54:18 +0200 |
---|---|---|
committer | Antoine Musso <hashar@free.fr> | 2017-06-22 17:07:35 +0200 |
commit | 20cf8d5e705fa068b434bb0f7f91514285cba741 (patch) | |
tree | bd8d61c59ce6cb4d1742ddddc50c59da1e73011d /tests/yamlparser/fixtures/project-matrix002.yaml | |
parent | 7b1c47711dd0bcf61be829ccbf9e8cfdf9dd98d9 (diff) | |
download | python-jenkins-job-builder-20cf8d5e705fa068b434bb0f7f91514285cba741.tar.gz python-jenkins-job-builder-20cf8d5e705fa068b434bb0f7f91514285cba741.tar.xz python-jenkins-job-builder-20cf8d5e705fa068b434bb0f7f91514285cba741.zip |
project matrix: rename variable/refactor
While reviewing the YAML axis execution strategy for the matrix project,
Darragh Bailey suggested to:
* use proper variable naming
* JJB exceptions
* Rely on hudson_model
* Drop trailing slashes
Slightly refactor the matrix project method.
For the combination touchstones, the web interface list the result has
'Stable', 'Unstable'. Map 'Stable' to 'Success' which is actually in
hudson.model.Result. Add a basic test to cover that.
Change-Id: I7ab416a2dbadae6d8a41fe8902ebec04fc530abc
Diffstat (limited to 'tests/yamlparser/fixtures/project-matrix002.yaml')
-rw-r--r-- | tests/yamlparser/fixtures/project-matrix002.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/yamlparser/fixtures/project-matrix002.yaml b/tests/yamlparser/fixtures/project-matrix002.yaml new file mode 100644 index 00000000..23ec7e08 --- /dev/null +++ b/tests/yamlparser/fixtures/project-matrix002.yaml @@ -0,0 +1,7 @@ +- job: + name: matrix-test-stable + project-type: matrix + execution-strategy: + touchstone: + expr: 'os == "linux"' + result: stable |