blob: 9531eb94dcf2cd9b77688a6ea6918a9c309b8525 [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
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
10 description: 'Build that triggers nightly to build many configurations.'
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:
20 suihkulokki:
21 - job-read
22 - job-extended-read
23 - job-build
24 - job-cancel
25 minosgalanakis:
26 - job-read
27 - job-extended-read
28 - job-build
29 - job-cancel
30 bhcopeland:
31 - job-read
32 - job-extended-read
33 - job-build
34 - job-cancel
35 triggers:
Karl Zhang6ef945e2020-06-11 08:24:54 +080036 - timed: 'H 21 * * *'
Dean Birche4cbc7c2020-01-20 10:40:21 +000037 parameters:
38 - string:
39 name: 'FILTER_GROUP'
Karl Zhang0c4ed912020-06-12 10:19:51 +080040 default: 'nightly_test_gnu nightly_profile_gnu nightly_psa_api_gnu nightly_ff_gnu nightly_otp_gnu'
Dean Birche4cbc7c2020-01-20 10:40:21 +000041 description: |
42 Filter to a group of configurations as recognised by configs.py
43 - string:
44 name: 'CODE_REPO'
Dean Birch1817bb62020-06-02 14:00:23 +010045 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
Dean Birche4cbc7c2020-01-20 10:40:21 +000046 - string:
47 name: 'CI_SCRIPTS_REPO'
48 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
49 - string:
50 name: 'GERRIT_REFSPEC'
51 default: 'refs/heads/master'
52 description: |
53 For use when triggering with unmerged Gerrit changes.
54 - string:
55 name: 'GERRIT_BRANCH'
56 default: 'master'
57 description: |
58 For use when triggering with unmerged Gerrit changes.
59 - string:
60 name: 'GERRIT_HOST'
61 description: |
62 For use when triggering with unmerged Gerrit changes.
63 - string:
64 name: 'GERRIT_CHANGE_NUMBER'
65 description: |
66 For use when triggering with unmerged Gerrit changes.
67 - string:
68 name: 'GERRIT_PATCHSET_REVISION'
69 description: |
70 For use when triggering with unmerged Gerrit changes.
71 - string:
72 name: 'MBEDCRYPTO_VERSION'
73 default: 'mbedcrypto-3.0.1'
74 - string:
75 name: 'MBEDCRYPTO_URL'
Karl Zhang2e1ab8e2020-06-28 15:27:37 +080076 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
Dean Birche4cbc7c2020-01-20 10:40:21 +000077 - string:
78 name: 'CMSIS_VERSION'
79 default: '5.5.0'
80 - string:
81 name: 'LAVA_URL'
82 default: 'https://tf.validation.linaro.org'
83 - string:
84 name: 'CI_SCRIPTS_BRANCH'
85 default: 'master'
Karl Zhang68a81b42020-07-24 18:38:08 +080086 - string:
87 name: 'CODE_COVERAGE_EN'
88 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010089 - string:
90 name: 'LAVA_CREDENTIALS'
91 default: 'LAVA_CREDENTIALS'
92 description: "Name of Jenkins credential for authentication with LAVA."
Dean Birche4cbc7c2020-01-20 10:40:21 +000093 pipeline-scm:
94 scm:
95 - git:
96 url: '$CI_SCRIPTS_REPO'
97 branches:
98 - '$CI_SCRIPTS_BRANCH'
99 credentials-id: GIT_SSH_KEY
100 wipe-workspace: false
101 script-path: jenkins/ci.jpl