blob: 66a082657c93a5fa761e9990ec6190639114720e [file] [log] [blame]
Karl Zhang9379cb72020-08-14 10:16:57 +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-build-docs-nightly
10 description: 'Builds documentation from repo by nightly'
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 triggers:
20 - timed: 'H 21 * * *'
21 parameters:
22 - string:
23 name: 'GERRIT_REFSPEC'
24 default: 'refs/heads/master'
25 description: |
26 For use when triggering with unmerged Gerrit changes.
27 - string:
28 name: 'GERRIT_BRANCH'
29 default: 'master'
30 description: |
31 For use when triggering with unmerged Gerrit changes.
32 - string:
33 name: 'GERRIT_HOST'
34 default: ''
35 description: |
36 For use when triggering with unmerged Gerrit changes.
37 - string:
38 name: 'GERRIT_PATCHSET_REVISION'
39 default: ''
40 description: |
41 For use when triggering with unmerged Gerrit changes.
42 - string:
43 name: 'GERRIT_CHANGE_NUMBER'
44 default: ''
45 description: |
46 For use when triggering with unmerged Gerrit changes.
47 - string:
48 name: 'CI_SCRIPTS_REPO'
49 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
50 - string:
51 name: 'CODE_REPO'
52 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
53 - string:
54 name: 'MBEDCRYPTO_VERSION'
55 default: 'mbedcrypto-3.0.1'
56 - string:
57 name: 'MBEDCRYPTO_URL'
58 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
59 - string:
60 name: 'MCUBOOT_VERSION'
61 default: 'v1.6.0'
62 - string:
63 name: 'MCUBOOT_URL'
64 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
65 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080066 name: 'MBEDTLS_VERSION'
67 default: 'mbedtls-2.23.0'
68 - string:
69 name: 'MBEDTLS_URL'
70 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
71 - string:
Karl Zhang9379cb72020-08-14 10:16:57 +080072 name: 'CMSIS_VERSION'
73 default: '5.5.0'
74 - string:
75 name: 'TFM_TESTS_URL'
76 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
77 - string:
78 name: 'TFM_TESTS_REFSPEC'
79 default: 'refs/heads/master'
80 - string:
81 name: 'CI_SCRIPTS_BRANCH'
82 default: 'master'
83 pipeline-scm:
84 scm:
85 - git:
86 url: '$CI_SCRIPTS_REPO'
87 branches:
88 - '$CI_SCRIPTS_BRANCH'
89 credentials-id: GIT_SSH_KEY
90 wipe-workspace: false
91 script-path: jenkins/build-docs.jpl