blob: c8bb8b02784c82f5d48306c8e1521aff1ec942d3 [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:
Riku Voipiod4ea5342020-09-04 16:00:02 +030020 anonymous:
21 - job-read
22 - job-extended-read
Karl Zhang93a3c4c2020-07-10 12:40:34 +080023 karl-zh:
24 - job-read
25 - job-extended-read
26 - job-build
27 - job-cancel
Xinyu Zhangd527ed62020-11-25 10:41:30 +080028 xinyu-tfm:
29 - job-read
30 - job-extended-read
31 - job-build
32 - job-cancel
Karl Zhang93a3c4c2020-07-10 12:40:34 +080033 suihkulokki:
34 - job-read
35 - job-extended-read
36 - job-build
37 - job-cancel
38 minosgalanakis:
39 - job-read
40 - job-extended-read
41 - job-build
42 - job-cancel
43 bhcopeland:
44 - job-read
45 - job-extended-read
46 - job-build
47 - job-cancel
48 triggers:
49 - timed: 'H 21 * * *'
50 parameters:
51 - string:
52 name: 'FILTER_GROUP'
Xinyu Zhang5d0a1722020-12-04 15:01:29 +080053 default: 'pp_test pp_OTP pp_psoc64'
Karl Zhang93a3c4c2020-07-10 12:40:34 +080054 description: |
55 Filter to a group of configurations as recognised by configs.py
56 - string:
57 name: 'CODE_REPO'
58 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
59 - string:
60 name: 'CI_SCRIPTS_REPO'
61 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
62 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010063 name: 'CI_SCRIPTS_BRANCH'
64 default: 'master'
65 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080066 name: 'GERRIT_REFSPEC'
67 default: 'refs/heads/master'
68 description: |
69 For use when triggering with specified tag or master 'refs/heads/master' or 'refs/tags/TF-Mv1.0'.
70 - string:
71 name: 'GERRIT_BRANCH'
72 default: 'master'
73 description: |
74 For use when triggering with unmerged Gerrit changes.
75 - string:
76 name: 'GERRIT_HOST'
77 description: |
78 For use when triggering with unmerged Gerrit changes.
79 - string:
80 name: 'GERRIT_CHANGE_NUMBER'
81 description: |
82 For use when triggering with unmerged Gerrit changes.
83 - string:
84 name: 'GERRIT_PATCHSET_REVISION'
85 description: |
86 For use when triggering with unmerged Gerrit changes.
87 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080088 name: 'MBEDTLS_VERSION'
Summer Qina400be82020-10-28 15:00:00 +080089 default: 'mbedtls-2.24.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080090 - string:
91 name: 'MBEDTLS_URL'
92 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
93 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080094 name: 'LAVA_URL'
95 default: 'https://tf.validation.linaro.org'
96 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080097 name: 'CODE_COVERAGE_EN'
98 default: 'TRUE'
Dean Birchc4d4d672020-08-12 10:38:58 +010099 - string:
100 name: 'LAVA_CREDENTIALS'
101 default: 'LAVA_CREDENTIALS'
102 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhang93a3c4c2020-07-10 12:40:34 +0800103 pipeline-scm:
104 scm:
105 - git:
106 url: '$CI_SCRIPTS_REPO'
107 branches:
108 - '$CI_SCRIPTS_BRANCH'
109 credentials-id: GIT_SSH_KEY
110 wipe-workspace: false
111 script-path: jenkins/ci.jpl