blob: 19bd05486b332d03d545c111edcec9855235f833 [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 Zhang319c2442020-08-26 10:18:05 +080045 default: 'pp_test_gnu pp_OTP_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: 'LAVA_URL'
90 default: 'https://tf.validation.linaro.org'
91 - string:
92 name: 'CI_SCRIPTS_BRANCH'
93 default: 'master'
94 - string:
95 name: 'CODE_COVERAGE_EN'
96 default: 'TRUE'
Dean Birchc4d4d672020-08-12 10:38:58 +010097 - string:
98 name: 'LAVA_CREDENTIALS'
99 default: 'LAVA_CREDENTIALS'
100 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhang93a3c4c2020-07-10 12:40:34 +0800101 pipeline-scm:
102 scm:
103 - git:
104 url: '$CI_SCRIPTS_REPO'
105 branches:
106 - '$CI_SCRIPTS_BRANCH'
107 credentials-id: GIT_SSH_KEY
108 wipe-workspace: false
109 script-path: jenkins/ci.jpl