blob: c003924f535eb7fca6d513de0e81c87e3cd7c1bc [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
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 Mutaiee250c72022-08-05 16:28:27 +010012 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 Babub495f032025-01-21 23:01:11 +000035 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 Mutaiee250c72022-08-05 16:28:27 +010040 name: TARGET_BUILD
41 default: 'tf-a-main/1'
42 description: 'Target build to analyze.'
43 builders:
Harrison Mutai92fbadd2022-10-06 11:28:48 +010044 - shell: !include-raw: scripts/clone.sh
Harrison Mutaiee250c72022-08-05 16:28:27 +010045 - shell: |
46 #!/bin/bash
47
48 bash ${WORKSPACE}/tf-a-ci-scripts/script/graphs/tf-main-results.bash \
Saheer Babua9f45032024-12-19 00:41:23 +000049 "${JENKINS_PUBLIC_URL}job/${TARGET_BUILD}"
Harrison Mutaiee250c72022-08-05 16:28:27 +010050 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