blob: 2e797524b42d8276c9326e3d18ae6f750aa6b61b [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:
Fathi Boudradb891772021-03-02 14:12:48 +010020 !include: authorization.yaml.inc
Karl Zhanga7cc3c42021-01-08 17:17:48 +080021# triggers:
22# - timed: 'H 21 * * *'
Karl Zhang93a3c4c2020-07-10 12:40:34 +080023 parameters:
24 - string:
25 name: 'FILTER_GROUP'
Karl Zhanga7cc3c42021-01-08 17:17:48 +080026 default: 'nightly_test nightly_profile'
Karl Zhang93a3c4c2020-07-10 12:40:34 +080027 description: |
28 Filter to a group of configurations as recognised by configs.py
29 - string:
30 name: 'CODE_REPO'
Karl Zhanga7cc3c42021-01-08 17:17:48 +080031 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
32 description: |
33 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 +080034 - string:
35 name: 'CI_SCRIPTS_REPO'
Karl Zhanga7cc3c42021-01-08 17:17:48 +080036 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Karl Zhang93a3c4c2020-07-10 12:40:34 +080037 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010038 name: 'CI_SCRIPTS_BRANCH'
39 default: 'master'
40 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080041 name: 'GERRIT_REFSPEC'
42 default: 'refs/heads/master'
43 description: |
44 For use when triggering with specified tag or master 'refs/heads/master' or 'refs/tags/TF-Mv1.0'.
45 - string:
46 name: 'GERRIT_BRANCH'
47 default: 'master'
48 description: |
49 For use when triggering with unmerged Gerrit changes.
50 - string:
51 name: 'GERRIT_HOST'
52 description: |
53 For use when triggering with unmerged Gerrit changes.
54 - string:
55 name: 'GERRIT_CHANGE_NUMBER'
56 description: |
57 For use when triggering with unmerged Gerrit changes.
58 - string:
59 name: 'GERRIT_PATCHSET_REVISION'
60 description: |
61 For use when triggering with unmerged Gerrit changes.
62 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080063 name: 'MBEDTLS_VERSION'
Xinyu Zhangfcd85da2021-05-17 11:00:07 +080064 default: 'mbedtls-2.26.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080065 - string:
66 name: 'MBEDTLS_URL'
67 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
68 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080069 name: 'LAVA_URL'
70 default: 'https://tf.validation.linaro.org'
71 - string:
Karl Zhang93a3c4c2020-07-10 12:40:34 +080072 name: 'CODE_COVERAGE_EN'
73 default: 'TRUE'
Dean Birchc4d4d672020-08-12 10:38:58 +010074 - string:
75 name: 'LAVA_CREDENTIALS'
76 default: 'LAVA_CREDENTIALS'
77 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhang93a3c4c2020-07-10 12:40:34 +080078 pipeline-scm:
79 scm:
80 - git:
81 url: '$CI_SCRIPTS_REPO'
82 branches:
83 - '$CI_SCRIPTS_BRANCH'
84 credentials-id: GIT_SSH_KEY
85 wipe-workspace: false
86 script-path: jenkins/ci.jpl