blob: 0ec1241e304be7d3d13912f906c6e9bae7153d3e [file] [log] [blame]
Harrison Mutaiee250c72022-08-05 16:28:27 +01001- job:
2 name: tf-a-test-result-visualization
3 node: docker-amd64-tf-a-bionic
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
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:
37 name: TARGET_BUILD
38 default: 'tf-a-main/1'
39 description: 'Target build to analyze.'
40 builders:
41 - shell: |
42 #!/bin/bash
43
44 bash ${WORKSPACE}/tf-a-ci-scripts/script/graphs/tf-main-results.bash \
45 "${JENKINS_URL}job/${TARGET_BUILD}"
46 publishers:
47 - postbuildscript:
48 builders:
49 - role: SLAVE
50 build-on:
51 - SUCCESS
52 - FAILURE
53 - UNSTABLE
54 - ABORTED
55 - NOT_BUILT
56 build-steps:
57 - shell: |-
58 #!/bin/bash -e
59 export CI_ROOT=${PWD}/tf-a-ci-scripts
60 bash "$CI_ROOT/job/tf-ci-gateway/generate_report.sh" -t
61 - archive:
62 artifacts: report.html, tf-a-main*.png, tf-a-main*.csv
63 - groovy-postbuild:
64 script:
65 !include-raw:
66 - tf-a-ci-gateway/postbuild.groovy