blob: cc0a652ce87ddd36de0e3001571b73c97acddaa3 [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:
Fathi Boudraccaba542020-11-19 10:11:43 +010058 name: 'CI_SCRIPTS_BRANCH'
59 default: 'master'
60 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080061 name: 'GERRIT_REFSPEC'
62 default: 'refs/heads/master'
63 description: |
64 For use when triggering with specified tag or master 'refs/heads/master' or 'refs/tags/TF-Mv1.0'.
65 - string:
66 name: 'GERRIT_BRANCH'
67 default: 'master'
68 description: |
69 For use when triggering with unmerged Gerrit changes.
70 - string:
71 name: 'GERRIT_HOST'
72 description: |
73 For use when triggering with unmerged Gerrit changes.
74 - string:
75 name: 'GERRIT_CHANGE_NUMBER'
76 description: |
77 For use when triggering with unmerged Gerrit changes.
78 - string:
79 name: 'GERRIT_PATCHSET_REVISION'
80 description: |
81 For use when triggering with unmerged Gerrit changes.
82 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080083 name: 'MBEDTLS_VERSION'
Summer Qina400be82020-10-28 15:00:00 +080084 default: 'mbedtls-2.24.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080085 - 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:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080092 name: 'CODE_COVERAGE_EN'
93 default: 'TRUE'
Dean Birchc4d4d672020-08-12 10:38:58 +010094 - string:
95 name: 'LAVA_CREDENTIALS'
96 default: 'LAVA_CREDENTIALS'
97 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhang93a3c4c2020-07-10 12:40:34 +080098 pipeline-scm:
99 scm:
100 - git:
101 url: '$CI_SCRIPTS_REPO'
102 branches:
103 - '$CI_SCRIPTS_BRANCH'
104 credentials-id: GIT_SSH_KEY
105 wipe-workspace: false
106 script-path: jenkins/ci.jpl