tf-ci-gateway: produce a report table at tf-ci-gateway job
As in the Arm CI tf-ci-gateway counterpart, this commit generates a
report table summarizing all build jobs triggered. Report tables
triggered by a tf-gerrit-tforg-l1 and tf-main staging jobs can be
explored at [1,2].
One important change in the CI flow is that CI no longer needs the
'tf-a-parameterized-builder' job, so current CI flow becomes shorter:
L level --> tf-ci-gateway --> tf-a-builder
instead of
L level --> tf-ci-gateway --> tf-a-parameterized-builder --> tf-a-builder
[1] https://ci.staging.trustedfirmware.org/job/lsandov1-tf-gerrit-tforg-l1/42/
[2] https://ci.staging.trustedfirmware.org/job/lsandov1-tf-main/14/
Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Change-Id: I884a0192186d9c2d8c078c45b00bf506cdfe6566
diff --git a/tf-ci-gateway.yaml b/tf-ci-gateway.yaml
index bba7406..c987b6a 100644
--- a/tf-ci-gateway.yaml
+++ b/tf-ci-gateway.yaml
@@ -75,8 +75,8 @@
$CI_ROOT/script/gen_test_desc.py
- trigger-builds:
- project:
- - tf-a-parameterized-builder
- block: false
+ - tf-a-builder
+ block: true
current-parameters: true
property-file-fail-on-missing: false
parameter-factories:
@@ -84,3 +84,25 @@
parameter-name: TEST_DESC
file-pattern: '*.test'
no-files-found-action: FAIL
+
+ publishers:
+ - postbuildscript:
+ builders:
+ - role: MASTER
+ build-on:
+ - SUCCESS
+ - FAILURE
+ - UNSTABLE
+ - ABORTED
+ - NOT_BUILT
+ build-steps:
+ - shell: |-
+ #!/bin/bash -e
+ export CI_ROOT=${PWD}/tf-a-ci-scripts
+ bash "$CI_ROOT/job/tf-ci-gateway/generate_report.sh"
+ - archive:
+ artifacts: report.json, report.html
+ - groovy-postbuild:
+ script:
+ !include-raw:
+ - tf-ci-gateway/postbuild.groovy