blob: 3d5e061b309d1c8b5ffc887e9cdb9b8f07a400ca [file] [log] [blame]
Harrison Mutaiee250c72022-08-05 16:28:27 +01001- job:
2 name: tf-a-test-result-visualization
Paul Sokolovsky39b84f02023-08-06 11:19:38 +03003 node: docker-amd64-tf-a-jammy
Harrison Mutaiee250c72022-08-05 16:28:27 +01004 project-type: freestyle
5 concurrent: true
Chris Kay675db4f2025-06-24 14:14:34 +01006 description: Generates a visualization of the test results from the current job.
Harrison Mutaiee250c72022-08-05 16:28:27 +01007 disabled: false
8 properties:
9 - build-discarder:
10 days-to-keep: 14
Harrison Mutaiee250c72022-08-05 16:28:27 +010011 parameters:
12 - string:
13 name: TF_GERRIT_PROJECT
Chris Kay675db4f2025-06-24 14:14:34 +010014 default: TF-A/trusted-firmware-a
Harrison Mutaiee250c72022-08-05 16:28:27 +010015 - string:
16 name: TF_GERRIT_BRANCH
Chris Kay675db4f2025-06-24 14:14:34 +010017 default: refs/heads/integration
Harrison Mutaiee250c72022-08-05 16:28:27 +010018 - string:
19 name: TF_GERRIT_REFSPEC
Chris Kay675db4f2025-06-24 14:14:34 +010020 default: +refs/heads/integration:refs/remotes/origin/integration
Harrison Mutaiee250c72022-08-05 16:28:27 +010021 - string:
22 name: TFTF_GERRIT_PROJECT
Chris Kay675db4f2025-06-24 14:14:34 +010023 default: TF-A/tf-a-tests
Harrison Mutaiee250c72022-08-05 16:28:27 +010024 - string:
25 name: TFTF_GERRIT_BRANCH
Chris Kay675db4f2025-06-24 14:14:34 +010026 default: refs/heads/master
Harrison Mutaiee250c72022-08-05 16:28:27 +010027 - string:
28 name: TFTF_GERRIT_REFSPEC
Chris Kay675db4f2025-06-24 14:14:34 +010029 default: +refs/heads/master:refs/remotes/origin/master
Harrison Mutaiee250c72022-08-05 16:28:27 +010030 - string:
31 name: CI_REFSPEC
Chris Kay675db4f2025-06-24 14:14:34 +010032 default: +refs/heads/master:refs/remotes/origin/master
Harrison Mutaiee250c72022-08-05 16:28:27 +010033 - string:
Saheer Babub495f032025-01-21 23:01:11 +000034 name: JOBS_REFSPEC
Chris Kay675db4f2025-06-24 14:14:34 +010035 default: refs/heads/master
Saheer Babub495f032025-01-21 23:01:11 +000036 description: |
37 tf-a-job-configs refspec to use. The master branch is used by default.
38 - string:
Harrison Mutaiee250c72022-08-05 16:28:27 +010039 name: TARGET_BUILD
Chris Kay675db4f2025-06-24 14:14:34 +010040 default: tf-a-main/1
41 description: Target build to analyze.
Harrison Mutaiee250c72022-08-05 16:28:27 +010042 builders:
Harrison Mutai92fbadd2022-10-06 11:28:48 +010043 - shell: !include-raw: scripts/clone.sh
Harrison Mutaiee250c72022-08-05 16:28:27 +010044 - shell: |
45 #!/bin/bash
46
47 bash ${WORKSPACE}/tf-a-ci-scripts/script/graphs/tf-main-results.bash \
Saheer Babua9f45032024-12-19 00:41:23 +000048 "${JENKINS_PUBLIC_URL}job/${TARGET_BUILD}"
Harrison Mutaiee250c72022-08-05 16:28:27 +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 Kay675db4f2025-06-24 14:14:34 +010067 script: !include-raw:
68 - tf-a-ci-gateway/postbuild.groovy