blob: a62b728d3f4861eca7fd926ac85877fcdbe0e0a0 [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
12 - authorization:
13 !include: authorization.yaml.inc
14 parameters:
15 - string:
16 name: TF_GERRIT_PROJECT
17 default: 'TF-A/trusted-firmware-a'
18 - string:
19 name: TF_GERRIT_BRANCH
20 default: 'refs/heads/integration'
21 - string:
22 name: TF_GERRIT_REFSPEC
23 default: '+refs/heads/integration:refs/remotes/origin/integration'
24 - string:
25 name: TFTF_GERRIT_PROJECT
26 default: 'TF-A/tf-a-tests'
27 - string:
28 name: TFTF_GERRIT_BRANCH
29 default: 'refs/heads/master'
30 - string:
31 name: TFTF_GERRIT_REFSPEC
32 default: '+refs/heads/master:refs/remotes/origin/master'
33 - string:
34 name: CI_REFSPEC
35 default: '+refs/heads/master:refs/remotes/origin/master'
36 - string:
Saheer Babub495f032025-01-21 23:01:11 +000037 name: JOBS_REFSPEC
38 default: 'refs/heads/master'
39 description: |
40 tf-a-job-configs refspec to use. The master branch is used by default.
41 - string:
Harrison Mutaiee250c72022-08-05 16:28:27 +010042 name: TARGET_BUILD
43 default: 'tf-a-main/1'
44 description: 'Target build to analyze.'
45 builders:
Harrison Mutai92fbadd2022-10-06 11:28:48 +010046 - shell: !include-raw: scripts/clone.sh
Harrison Mutaiee250c72022-08-05 16:28:27 +010047 - shell: |
48 #!/bin/bash
49
50 bash ${WORKSPACE}/tf-a-ci-scripts/script/graphs/tf-main-results.bash \
Saheer Babua9f45032024-12-19 00:41:23 +000051 "${JENKINS_PUBLIC_URL}job/${TARGET_BUILD}"
Harrison Mutaiee250c72022-08-05 16:28:27 +010052 publishers:
53 - postbuildscript:
54 builders:
55 - role: SLAVE
56 build-on:
57 - SUCCESS
58 - FAILURE
59 - UNSTABLE
60 - ABORTED
61 - NOT_BUILT
62 build-steps:
63 - shell: |-
64 #!/bin/bash -e
65 export CI_ROOT=${PWD}/tf-a-ci-scripts
66 bash "$CI_ROOT/job/tf-ci-gateway/generate_report.sh" -t
67 - archive:
68 artifacts: report.html, tf-a-main*.png, tf-a-main*.csv
69 - groovy-postbuild:
70 script:
71 !include-raw:
72 - tf-a-ci-gateway/postbuild.groovy