From 5165ff7704d136adc4f3dd7885c8ad21b2375f1a Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Wed, 15 Apr 2020 15:35:29 +0200 Subject: [PATCH] iec: Stop upstream job if IEC installation fails Previously, we were using a single `trigger-builds` builder, which as a consequence led to running all downstream projects even if the first one (installing the IEC platform) failed. Switch to using 2 different `trigger-builds` builders so: - if IEC installation fails, no other downstream jobs are executed and the upstream (parent) job is marked as failed; - if any other downstream job (except SEBA install/test jobs) fails, the upstream (parent) job is marked as failed/unstable, but all other downstream jobs are still executed (so we can still install/test SEBA and destroy the IEC installation at the end even if the 'validation' job failed); Change-Id: I946c5bc9f2cc35afcbeb64d954beb10f3281fc11 Signed-off-by: Alexandru Avadanii --- jjb/akraino-templates/akraino-iec-templates.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/jjb/akraino-templates/akraino-iec-templates.yaml b/jjb/akraino-templates/akraino-iec-templates.yaml index c60e915..f71da28 100644 --- a/jjb/akraino-templates/akraino-iec-templates.yaml +++ b/jjb/akraino-templates/akraino-iec-templates.yaml @@ -47,6 +47,7 @@ DEPLOY_SCENARIO={scenario} same-node: true block: true + - trigger-builds: - project: 'validation-enea-daily-{stream}' same-node: true current-parameters: true -- 2.16.6