summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/include001.yaml
diff options
context:
space:
mode:
authorSandro Gattuso <sandro.gattuso@gmail.com>2016-07-31 13:41:48 +1000
committerDarragh Bailey <daragh.bailey@gmail.com>2017-03-28 17:10:29 +0000
commit12c2ca33964ade24dc01fd8d79fa769759ba7495 (patch)
treec2238a560f53e8b088befe24e411d0835a537e87 /tests/yamlparser/fixtures/include001.yaml
parent0a8928f51ac5b74553e42bca365175bd4488b13d (diff)
downloadpython-jenkins-job-builder-12c2ca33964ade24dc01fd8d79fa769759ba7495.tar.gz
python-jenkins-job-builder-12c2ca33964ade24dc01fd8d79fa769759ba7495.tar.xz
python-jenkins-job-builder-12c2ca33964ade24dc01fd8d79fa769759ba7495.zip
Wrapper pre-scm-buildstep: added support for failOnError parameter
- Added failOnError argument for pre-scm-buildstep - Introduced buildsteps argument and moved list of build steps to match xml configuration of the preSCMbuildstep plugin. - Updated existing test cases to match the new argument structure - Added test case for pre-scm-buildstep to verify creation of failOnError tag - Added verification on version to maintain retro-compatibility - Updated documentation to fetch example from testcase definition Change-Id: I25c19cd0552cf2de97b9c391492d95779c1360be Task: 3163 Story: 2000690
Diffstat (limited to 'tests/yamlparser/fixtures/include001.yaml')
-rw-r--r--tests/yamlparser/fixtures/include001.yaml24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/yamlparser/fixtures/include001.yaml b/tests/yamlparser/fixtures/include001.yaml
index 8c7c3cb0..515e11a8 100644
--- a/tests/yamlparser/fixtures/include001.yaml
+++ b/tests/yamlparser/fixtures/include001.yaml
@@ -12,17 +12,18 @@
name: pre-scm-shell-ant
wrappers:
- pre-scm-buildstep:
- - shell: |
- #!/bin/bash
- echo "Doing somethiung cool"
- - shell: |
- #!/bin/zsh
- echo "Doing somethin cool with zsh"
- - ant: "target1 target2"
- ant-name: "Standard Ant"
- - inject:
- properties-file: example.prop
- properties-content: EXAMPLE=foo-bar
+ buildsteps:
+ - shell: |
+ #!/bin/bash
+ echo "Doing somethiung cool"
+ - shell: |
+ #!/bin/zsh
+ echo "Doing somethin cool with zsh"
+ - ant: "target1 target2"
+ ant-name: "Standard Ant"
+ - inject:
+ properties-file: example.prop
+ properties-content: EXAMPLE=foo-bar
- wrapper:
name: copy-files
@@ -43,4 +44,3 @@
- inject:
keep-build-variables: true
keep-system-variables: true
-