blob: c0127d40ec2159c53dfdee96e8d2dfd38cc533b8 [file] [log] [blame]
Karl Zhang93a3c4c2020-07-10 12:40:34 +08001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-nightly-code-coverage
10 description: 'Build that triggers nightly to generate code coverage data.'
11 project-type: pipeline
12 disabled: false
13 sandbox: true
14 concurrent: true
15 properties:
16 - build-discarder:
17 days-to-keep: 15
18 num-to-keep: 45
19 - authorization:
20 karl-zh:
21 - job-read
22 - job-extended-read
23 - job-build
24 - job-cancel
25 suihkulokki:
26 - job-read
27 - job-extended-read
28 - job-build
29 - job-cancel
30 minosgalanakis:
31 - job-read
32 - job-extended-read
33 - job-build
34 - job-cancel
35 bhcopeland:
36 - job-read
37 - job-extended-read
38 - job-build
39 - job-cancel
40 triggers:
41 - timed: 'H 21 * * *'
42 parameters:
43 - string:
44 name: 'FILTER_GROUP'
Karl Zhang9b495fb2020-08-05 11:11:44 +080045 default: 'pp_test_gnu pp_OTP_gnu pp_PSA_API_gnu pp_psoc64_gnu'
Karl Zhang93a3c4c2020-07-10 12:40:34 +080046 description: |
47 Filter to a group of configurations as recognised by configs.py
48 - string:
49 name: 'CODE_REPO'
50 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
51 - string:
52 name: 'CI_SCRIPTS_REPO'
53 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
54 - string:
55 name: 'GERRIT_REFSPEC'
56 default: 'refs/heads/master'
57 description: |
58 For use when triggering with specified tag or master 'refs/heads/master' or 'refs/tags/TF-Mv1.0'.
59 - string:
60 name: 'GERRIT_BRANCH'
61 default: 'master'
62 description: |
63 For use when triggering with unmerged Gerrit changes.
64 - string:
65 name: 'GERRIT_HOST'
66 description: |
67 For use when triggering with unmerged Gerrit changes.
68 - string:
69 name: 'GERRIT_CHANGE_NUMBER'
70 description: |
71 For use when triggering with unmerged Gerrit changes.
72 - string:
73 name: 'GERRIT_PATCHSET_REVISION'
74 description: |
75 For use when triggering with unmerged Gerrit changes.
76 - string:
77 name: 'MBEDCRYPTO_VERSION'
78 default: 'mbedcrypto-3.0.1'
79 - string:
80 name: 'MBEDCRYPTO_URL'
81 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
82 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080083 name: 'MBEDTLS_VERSION'
84 default: 'mbedtls-2.23.0'
85 - string:
86 name: 'MBEDTLS_URL'
87 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
88 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080089 name: 'CMSIS_VERSION'
90 default: '5.5.0'
91 - string:
92 name: 'LAVA_URL'
93 default: 'https://tf.validation.linaro.org'
94 - string:
95 name: 'CI_SCRIPTS_BRANCH'
96 default: 'master'
97 - string:
98 name: 'CODE_COVERAGE_EN'
99 default: 'TRUE'
Dean Birchc4d4d672020-08-12 10:38:58 +0100100 - string:
101 name: 'LAVA_CREDENTIALS'
102 default: 'LAVA_CREDENTIALS'
103 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhang93a3c4c2020-07-10 12:40:34 +0800104 pipeline-scm:
105 scm:
106 - git:
107 url: '$CI_SCRIPTS_REPO'
108 branches:
109 - '$CI_SCRIPTS_BRANCH'
110 credentials-id: GIT_SSH_KEY
111 wipe-workspace: false
112 script-path: jenkins/ci.jpl