blob: cf6bd5570518aad1cc68f78aa23746bf3dceed43 [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
Karl Zhanga7cc3c42021-01-08 17:17:48 +080048# triggers:
49# - timed: 'H 21 * * *'
Karl Zhang93a3c4c2020-07-10 12:40:34 +080050 parameters:
51 - string:
52 name: 'FILTER_GROUP'
Karl Zhanga7cc3c42021-01-08 17:17:48 +080053 default: 'nightly_test nightly_profile'
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'
Karl Zhanga7cc3c42021-01-08 17:17:48 +080058 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
59 description: |
60 Change to https://review.trustedfirmware.org/TF-M/trusted-firmware-m use when triggering with unmerged Gerrit changes.
Karl Zhang93a3c4c2020-07-10 12:40:34 +080061 - string:
62 name: 'CI_SCRIPTS_REPO'
Karl Zhanga7cc3c42021-01-08 17:17:48 +080063 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Karl Zhang93a3c4c2020-07-10 12:40:34 +080064 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010065 name: 'CI_SCRIPTS_BRANCH'
66 default: 'master'
67 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080068 name: 'GERRIT_REFSPEC'
69 default: 'refs/heads/master'
70 description: |
71 For use when triggering with specified tag or master 'refs/heads/master' or 'refs/tags/TF-Mv1.0'.
72 - string:
73 name: 'GERRIT_BRANCH'
74 default: 'master'
75 description: |
76 For use when triggering with unmerged Gerrit changes.
77 - string:
78 name: 'GERRIT_HOST'
79 description: |
80 For use when triggering with unmerged Gerrit changes.
81 - string:
82 name: 'GERRIT_CHANGE_NUMBER'
83 description: |
84 For use when triggering with unmerged Gerrit changes.
85 - string:
86 name: 'GERRIT_PATCHSET_REVISION'
87 description: |
88 For use when triggering with unmerged Gerrit changes.
89 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080090 name: 'MBEDTLS_VERSION'
Summer Qina400be82020-10-28 15:00:00 +080091 default: 'mbedtls-2.24.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080092 - string:
93 name: 'MBEDTLS_URL'
94 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
95 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080096 name: 'LAVA_URL'
97 default: 'https://tf.validation.linaro.org'
98 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080099 name: 'CODE_COVERAGE_EN'
100 default: 'TRUE'
Dean Birchc4d4d672020-08-12 10:38:58 +0100101 - string:
102 name: 'LAVA_CREDENTIALS'
103 default: 'LAVA_CREDENTIALS'
104 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhang93a3c4c2020-07-10 12:40:34 +0800105 pipeline-scm:
106 scm:
107 - git:
108 url: '$CI_SCRIPTS_REPO'
109 branches:
110 - '$CI_SCRIPTS_BRANCH'
111 credentials-id: GIT_SSH_KEY
112 wipe-workspace: false
113 script-path: jenkins/ci.jpl