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 |
| 6 | description: >- |
| 7 | Generates a visualization of the test results from the current job. |
| 8 | disabled: false |
| 9 | properties: |
| 10 | - build-discarder: |
| 11 | days-to-keep: 14 |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 12 | parameters: |
| 13 | - string: |
| 14 | name: TF_GERRIT_PROJECT |
| 15 | default: 'TF-A/trusted-firmware-a' |
| 16 | - string: |
| 17 | name: TF_GERRIT_BRANCH |
| 18 | default: 'refs/heads/integration' |
| 19 | - string: |
| 20 | name: TF_GERRIT_REFSPEC |
| 21 | default: '+refs/heads/integration:refs/remotes/origin/integration' |
| 22 | - string: |
| 23 | name: TFTF_GERRIT_PROJECT |
| 24 | default: 'TF-A/tf-a-tests' |
| 25 | - string: |
| 26 | name: TFTF_GERRIT_BRANCH |
| 27 | default: 'refs/heads/master' |
| 28 | - string: |
| 29 | name: TFTF_GERRIT_REFSPEC |
| 30 | default: '+refs/heads/master:refs/remotes/origin/master' |
| 31 | - string: |
| 32 | name: CI_REFSPEC |
| 33 | default: '+refs/heads/master:refs/remotes/origin/master' |
| 34 | - string: |
Saheer Babu | b495f03 | 2025-01-21 23:01:11 +0000 | [diff] [blame] | 35 | name: JOBS_REFSPEC |
| 36 | default: 'refs/heads/master' |
| 37 | description: | |
| 38 | tf-a-job-configs refspec to use. The master branch is used by default. |
| 39 | - string: |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 40 | name: TARGET_BUILD |
| 41 | default: 'tf-a-main/1' |
| 42 | description: 'Target build to analyze.' |
| 43 | builders: |
Harrison Mutai | 92fbadd | 2022-10-06 11:28:48 +0100 | [diff] [blame] | 44 | - shell: !include-raw: scripts/clone.sh |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 45 | - shell: | |
| 46 | #!/bin/bash |
| 47 | |
| 48 | bash ${WORKSPACE}/tf-a-ci-scripts/script/graphs/tf-main-results.bash \ |
Saheer Babu | a9f4503 | 2024-12-19 00:41:23 +0000 | [diff] [blame] | 49 | "${JENKINS_PUBLIC_URL}job/${TARGET_BUILD}" |
Harrison Mutai | ee250c7 | 2022-08-05 16:28:27 +0100 | [diff] [blame] | 50 | publishers: |
| 51 | - postbuildscript: |
| 52 | builders: |
| 53 | - role: SLAVE |
| 54 | build-on: |
| 55 | - SUCCESS |
| 56 | - FAILURE |
| 57 | - UNSTABLE |
| 58 | - ABORTED |
| 59 | - NOT_BUILT |
| 60 | build-steps: |
| 61 | - shell: |- |
| 62 | #!/bin/bash -e |
| 63 | export CI_ROOT=${PWD}/tf-a-ci-scripts |
| 64 | bash "$CI_ROOT/job/tf-ci-gateway/generate_report.sh" -t |
| 65 | - archive: |
| 66 | artifacts: report.html, tf-a-main*.png, tf-a-main*.csv |
| 67 | - groovy-postbuild: |
| 68 | script: |
| 69 | !include-raw: |
| 70 | - tf-a-ci-gateway/postbuild.groovy |