Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 1 | - job: |
| 2 | name: tf-a-test-result-visualization |
Paul Sokolovsky | 39b84f0 | 2023-08-06 11:19:38 +0300 | [diff] [blame] | 3 | node: docker-amd64-tf-a-jammy |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 4 | project-type: freestyle |
| 5 | concurrent: true |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 6 | description: Generates a visualization of the test results from the current job. |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 7 | disabled: false |
| 8 | properties: |
| 9 | - build-discarder: |
| 10 | days-to-keep: 14 |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 11 | parameters: |
| 12 | - string: |
| 13 | name: TF_GERRIT_PROJECT |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 14 | default: TF-A/trusted-firmware-a |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 15 | - string: |
| 16 | name: TF_GERRIT_BRANCH |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 17 | default: refs/heads/integration |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 18 | - string: |
| 19 | name: TF_GERRIT_REFSPEC |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 20 | default: +refs/heads/integration:refs/remotes/origin/integration |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 21 | - string: |
| 22 | name: TFTF_GERRIT_PROJECT |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 23 | default: TF-A/tf-a-tests |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 24 | - string: |
| 25 | name: TFTF_GERRIT_BRANCH |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 26 | default: refs/heads/master |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 27 | - string: |
| 28 | name: TFTF_GERRIT_REFSPEC |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 29 | default: +refs/heads/master:refs/remotes/origin/master |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 30 | - string: |
| 31 | name: CI_REFSPEC |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 32 | default: +refs/heads/master:refs/remotes/origin/master |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 33 | - string: |
Saheer Babu | b495f03 | 2025-01-21 23:01:11 +0000 | [diff] [blame] | 34 | name: JOBS_REFSPEC |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 35 | default: refs/heads/master |
Saheer Babu | b495f03 | 2025-01-21 23:01:11 +0000 | [diff] [blame] | 36 | description: | |
| 37 | tf-a-job-configs refspec to use. The master branch is used by default. |
| 38 | - string: |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 39 | name: TARGET_BUILD |
Chris Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 40 | default: tf-a-main/1 |
| 41 | description: Target build to analyze. |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 42 | builders: |
Harrison Mutai | 92fbadd | 2022-10-06 11:28:48 +0100 | [diff] [blame] | 43 | - shell: !include-raw: scripts/clone.sh |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 44 | - shell: | |
| 45 | #!/bin/bash |
| 46 | |
| 47 | bash ${WORKSPACE}/tf-a-ci-scripts/script/graphs/tf-main-results.bash \ |
Saheer Babu | a9f4503 | 2024-12-19 00:41:23 +0000 | [diff] [blame] | 48 | "${JENKINS_PUBLIC_URL}job/${TARGET_BUILD}" |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 49 | 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 Kay | 675db4f | 2025-06-24 14:14:34 +0100 | [diff] [blame] | 67 | script: !include-raw: |
| 68 | - tf-a-ci-gateway/postbuild.groovy |