From 6a447539a3fb9ebfad812abcc486a1bfd0d29122 Mon Sep 17 00:00:00 2001 From: David Schneider Date: Mon, 15 Oct 2018 21:36:05 +0200 Subject: [PATCH] Fix build-result trigger jobs list in examples Change-Id: I4fc954560953b64dca6720dff427855be7ccb132 --- tests/triggers/fixtures/build-result-full.xml | 4 ++-- tests/triggers/fixtures/build-result-full.yaml | 7 +++++-- tests/triggers/fixtures/build-result-minimal.xml | 2 +- tests/triggers/fixtures/build-result-minimal.yaml | 3 ++- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/triggers/fixtures/build-result-full.xml b/tests/triggers/fixtures/build-result-full.xml index e904a0701..8f897d0df 100644 --- a/tests/triggers/fixtures/build-result-full.xml +++ b/tests/triggers/fixtures/build-result-full.xml @@ -6,7 +6,7 @@ true - t,e,s,t,,, ,t,e,s,t,2 + test,test2 SUCCESS @@ -17,7 +17,7 @@ - t,e,s,t,3 + test3 UNSTABLE diff --git a/tests/triggers/fixtures/build-result-full.yaml b/tests/triggers/fixtures/build-result-full.yaml index dc06bef49..f63d4614d 100644 --- a/tests/triggers/fixtures/build-result-full.yaml +++ b/tests/triggers/fixtures/build-result-full.yaml @@ -3,10 +3,13 @@ triggers: cron: H/15 * * * * combine: true groups: - - jobs: test, test2 + - jobs: + - test + - test2 results: - success - not-built - - jobs: test3 + - jobs: + - test3 results: - unstable diff --git a/tests/triggers/fixtures/build-result-minimal.xml b/tests/triggers/fixtures/build-result-minimal.xml index 4209b9010..4adcbc2e7 100644 --- a/tests/triggers/fixtures/build-result-minimal.xml +++ b/tests/triggers/fixtures/build-result-minimal.xml @@ -6,7 +6,7 @@ false - t,e,s,t + test ABORTED diff --git a/tests/triggers/fixtures/build-result-minimal.yaml b/tests/triggers/fixtures/build-result-minimal.yaml index 1f6ebd006..3cf453390 100644 --- a/tests/triggers/fixtures/build-result-minimal.yaml +++ b/tests/triggers/fixtures/build-result-minimal.yaml @@ -1,6 +1,7 @@ triggers: - build-result: groups: - - jobs: test + - jobs: + - test results: - aborted