From 12c2ca33964ade24dc01fd8d79fa769759ba7495 Mon Sep 17 00:00:00 2001 From: Sandro Gattuso Date: Sun, 31 Jul 2016 13:41:48 +1000 Subject: 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 --- tests/yamlparser/fixtures/include001.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tests/yamlparser/fixtures/include001.yaml') 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 - -- cgit