blob: 35df5c87313a41418c0d8a5eb14f6e92ee571870 [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:
Riku Voipiod4ea5342020-09-04 16:00:02 +030016 - authorization:
17 anonymous:
18 - job-read
19 - job-extended-read
Karl Zhang9379cb72020-08-14 10:16:57 +080020 - build-discarder:
21 days-to-keep: 15
22 num-to-keep: 45
23 triggers:
24 - timed: 'H 21 * * *'
25 parameters:
26 - string:
27 name: 'GERRIT_REFSPEC'
28 default: 'refs/heads/master'
29 description: |
30 For use when triggering with unmerged Gerrit changes.
31 - string:
32 name: 'GERRIT_BRANCH'
33 default: 'master'
34 description: |
35 For use when triggering with unmerged Gerrit changes.
36 - string:
37 name: 'GERRIT_HOST'
38 default: ''
39 description: |
40 For use when triggering with unmerged Gerrit changes.
41 - string:
42 name: 'GERRIT_PATCHSET_REVISION'
43 default: ''
44 description: |
45 For use when triggering with unmerged Gerrit changes.
46 - string:
47 name: 'GERRIT_CHANGE_NUMBER'
48 default: ''
49 description: |
50 For use when triggering with unmerged Gerrit changes.
51 - string:
52 name: 'CI_SCRIPTS_REPO'
53 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
54 - string:
55 name: 'CODE_REPO'
56 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
57 - string:
58 name: 'MBEDCRYPTO_VERSION'
59 default: 'mbedcrypto-3.0.1'
60 - string:
61 name: 'MBEDCRYPTO_URL'
62 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
63 - string:
64 name: 'MCUBOOT_VERSION'
65 default: 'v1.6.0'
66 - string:
67 name: 'MCUBOOT_URL'
68 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
69 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080070 name: 'MBEDTLS_VERSION'
71 default: 'mbedtls-2.23.0'
72 - string:
73 name: 'MBEDTLS_URL'
74 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
75 - string:
Karl Zhang9379cb72020-08-14 10:16:57 +080076 name: 'TFM_TESTS_URL'
77 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
78 - string:
79 name: 'TFM_TESTS_REFSPEC'
80 default: 'refs/heads/master'
81 - string:
82 name: 'CI_SCRIPTS_BRANCH'
83 default: 'master'
84 pipeline-scm:
85 scm:
86 - git:
87 url: '$CI_SCRIPTS_REPO'
88 branches:
89 - '$CI_SCRIPTS_BRANCH'
90 credentials-id: GIT_SSH_KEY
91 wipe-workspace: false
92 script-path: jenkins/build-docs.jpl