blob: 3d5e061b309d1c8b5ffc887e9cdb9b8f07a400ca [file] [log] [blame]
Chris Kay56d48482022-10-11 10:46:31 +01001- job:
2 name: tf-a-test-result-visualization
Paul Sokolovsky940832d2023-08-09 00:46:11 +03003 node: docker-amd64-tf-a-jammy
Chris Kay56d48482022-10-11 10:46:31 +01004 project-type: freestyle
5 concurrent: true
Chris Kaydfdd51e2025-07-18 17:15:10 +01006 description: Generates a visualization of the test results from the current job.
Chris Kay56d48482022-10-11 10:46:31 +01007 disabled: false
8 properties:
9 - build-discarder:
10 days-to-keep: 14
Chris Kay56d48482022-10-11 10:46:31 +010011 parameters:
12 - string:
13 name: TF_GERRIT_PROJECT
Chris Kaydfdd51e2025-07-18 17:15:10 +010014 default: TF-A/trusted-firmware-a
Chris Kay56d48482022-10-11 10:46:31 +010015 - string:
16 name: TF_GERRIT_BRANCH
Chris Kayd322c4e2025-08-06 09:16:56 +010017 default: refs/heads/integration
Chris Kay56d48482022-10-11 10:46:31 +010018 - string:
19 name: TF_GERRIT_REFSPEC
Chris Kaydfdd51e2025-07-18 17:15:10 +010020 default: +refs/heads/integration:refs/remotes/origin/integration
Chris Kay56d48482022-10-11 10:46:31 +010021 - string:
22 name: TFTF_GERRIT_PROJECT
Chris Kaydfdd51e2025-07-18 17:15:10 +010023 default: TF-A/tf-a-tests
Chris Kay56d48482022-10-11 10:46:31 +010024 - string:
25 name: TFTF_GERRIT_BRANCH
Chris Kayd322c4e2025-08-06 09:16:56 +010026 default: refs/heads/master
Chris Kay56d48482022-10-11 10:46:31 +010027 - string:
28 name: TFTF_GERRIT_REFSPEC
Chris Kaydfdd51e2025-07-18 17:15:10 +010029 default: +refs/heads/master:refs/remotes/origin/master
Chris Kay56d48482022-10-11 10:46:31 +010030 - string:
31 name: CI_REFSPEC
Chris Kaydfdd51e2025-07-18 17:15:10 +010032 default: +refs/heads/master:refs/remotes/origin/master
Chris Kay56d48482022-10-11 10:46:31 +010033 - string:
Chris Kayc1aa7ba2025-06-12 16:56:38 +010034 name: JOBS_REFSPEC
Chris Kaydfdd51e2025-07-18 17:15:10 +010035 default: refs/heads/master
Chris Kayc1aa7ba2025-06-12 16:56:38 +010036 description: |
37 tf-a-job-configs refspec to use. The master branch is used by default.
38 - string:
Chris Kay56d48482022-10-11 10:46:31 +010039 name: TARGET_BUILD
Chris Kaydfdd51e2025-07-18 17:15:10 +010040 default: tf-a-main/1
41 description: Target build to analyze.
Chris Kay56d48482022-10-11 10:46:31 +010042 builders:
Chris Kayf2256952022-10-11 10:46:31 +010043 - shell: !include-raw: scripts/clone.sh
Chris Kay56d48482022-10-11 10:46:31 +010044 - shell: |
45 #!/bin/bash
46
47 bash ${WORKSPACE}/tf-a-ci-scripts/script/graphs/tf-main-results.bash \
Chris Kayc1aa7ba2025-06-12 16:56:38 +010048 "${JENKINS_PUBLIC_URL}job/${TARGET_BUILD}"
Chris Kay56d48482022-10-11 10:46:31 +010049 publishers:
50 - postbuildscript:
51 builders:
52 - role: SLAVE
53 build-on:
54 - SUCCESS
55 - FAILURE
56 - UNSTABLE
57 - ABORTED
58 - NOT_BUILT
59 build-steps:
60 - shell: |-
61 #!/bin/bash -e
62 export CI_ROOT=${PWD}/tf-a-ci-scripts
63 bash "$CI_ROOT/job/tf-ci-gateway/generate_report.sh" -t
64 - archive:
65 artifacts: report.html, tf-a-main*.png, tf-a-main*.csv
66 - groovy-postbuild:
Chris Kaydfdd51e2025-07-18 17:15:10 +010067 script: !include-raw:
68 - tf-a-ci-gateway/postbuild.groovy