diff options
author | 2017-02-14 23:00:36 +0100 | |
---|---|---|
committer | 2017-02-14 23:00:36 +0100 | |
commit | 14647b74d15551346385da635cc51b62b03e766e (patch) | |
tree | 71e6590a14dd85c573bdf1e5615cbdbd675c3062 /jjb/ci-AGL-verify | |
parent | 386cae8652be0ee5038987c1005cf7caf6803e7a (diff) |
Fail multijob execution when one phase fails
Change-Id: Ie81d5f5b8b92baf37619373b8a504ed1273845ad
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/ci-AGL-verify')
-rw-r--r-- | jjb/ci-AGL-verify/ci-platform-jjb.yaml | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/jjb/ci-AGL-verify/ci-platform-jjb.yaml b/jjb/ci-AGL-verify/ci-platform-jjb.yaml index cc4015ba..64a7c66b 100644 --- a/jjb/ci-AGL-verify/ci-platform-jjb.yaml +++ b/jjb/ci-AGL-verify/ci-platform-jjb.yaml @@ -68,44 +68,68 @@ builders: - multijob: name: CIB-{project} - condition: COMPLETED + condition: SUCCESSFUL projects: - name: 'ci-platform-{project}-verify-CIB-porter-nogfx' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - name: 'ci-platform-{project}-verify-CIB-intel-corei7-64' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - name: 'ci-platform-{project}-verify-CIB-raspberrypi3' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - name: 'ci-platform-{project}-verify-CIB-dra7xx-evm' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - name: 'ci-platform-{project}-verify-CIB-qemux86-64' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - multijob: name: CIB-{project}-finish - condition: COMPLETED + condition: SUCCESSFUL projects: - name: 'ci-platform-{project}-verify-CIB-finish' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - multijob: name: CIBT-{project} condition: COMPLETED projects: - name: 'ci-platform-{project}-verify-CIBT-porter-nogfx' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - name: 'ci-platform-{project}-verify-CIBT-intel-corei7-64' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - name: 'ci-platform-{project}-verify-CIBT-raspberrypi3' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - name: 'ci-platform-{project}-verify-CIBT-dra7xx-evm' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - name: 'ci-platform-{project}-verify-CIBT-qemux86-64' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE - multijob: name: 'CIBT-{project}-finish' - condition: COMPLETED + condition: SUCCESSFUL projects: - name: 'ci-platform-{project}-verify-CIBT-finish' current-parameters: true + abort-all-job: true + kill-phase-on: FAILURE # publishers: @@ -213,7 +237,7 @@ build-timeout: '{build-timeout}' builders: - - shell: "echo YAY" + - shell: "echo YAY ; set" - shell: "ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --label ci-image-build=+1 -n NONE --message='CI-Image-Build ' || true" #; ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${GERRIT_CHANGE_NUMBER},${GERRIT_PATCHSET_NUMBER} --label=ci-image-build=+1 -n NONE --message='CI-Image-Build '" @@ -322,6 +346,6 @@ build-timeout: '{build-timeout}' builders: - - shell: "echo YAY" + - shell: "echo YAY ; set " - shell: "ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --label ci-image-boot-test=+1 -n NONE --message='CI-Image-Boot-Test ' || true" #; ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${GERRIT_CHANGE_NUMBER},${GERRIT_PATCHSET_NUMBER} --label=ci-image-build=+1 -n NONE --message='CI-Image-Build '" |