blob: b6466551a876cb8bb8d9acfb5cc3293ff4b73c56 [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
28 suihkulokki:
29 - job-read
30 - job-extended-read
31 - job-build
32 - job-cancel
33 minosgalanakis:
34 - job-read
35 - job-extended-read
36 - job-build
37 - job-cancel
38 bhcopeland:
39 - job-read
40 - job-extended-read
41 - job-build
42 - job-cancel
43 triggers:
44 - timed: 'H 21 * * *'
45 parameters:
46 - string:
47 name: 'FILTER_GROUP'
Karl Zhang319c2442020-08-26 10:18:05 +080048 default: 'pp_test_gnu pp_OTP_gnu pp_psoc64_gnu'
Karl Zhang93a3c4c2020-07-10 12:40:34 +080049 description: |
50 Filter to a group of configurations as recognised by configs.py
51 - string:
52 name: 'CODE_REPO'
53 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
54 - string:
55 name: 'CI_SCRIPTS_REPO'
56 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
57 - string:
58 name: 'GERRIT_REFSPEC'
59 default: 'refs/heads/master'
60 description: |
61 For use when triggering with specified tag or master 'refs/heads/master' or 'refs/tags/TF-Mv1.0'.
62 - string:
63 name: 'GERRIT_BRANCH'
64 default: 'master'
65 description: |
66 For use when triggering with unmerged Gerrit changes.
67 - string:
68 name: 'GERRIT_HOST'
69 description: |
70 For use when triggering with unmerged Gerrit changes.
71 - string:
72 name: 'GERRIT_CHANGE_NUMBER'
73 description: |
74 For use when triggering with unmerged Gerrit changes.
75 - string:
76 name: 'GERRIT_PATCHSET_REVISION'
77 description: |
78 For use when triggering with unmerged Gerrit changes.
79 - string:
80 name: 'MBEDCRYPTO_VERSION'
81 default: 'mbedcrypto-3.0.1'
82 - string:
83 name: 'MBEDCRYPTO_URL'
84 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
85 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080086 name: 'MBEDTLS_VERSION'
87 default: 'mbedtls-2.23.0'
88 - string:
89 name: 'MBEDTLS_URL'
90 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
91 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080092 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