blob: 5c005eb6850ef35c55fc752251427010514f4215 [file] [log] [blame]
Karl Zhang9379cb72020-08-14 10:16:57 +08001#-------------------------------------------------------------------------------
Xinyu Zhanga16c5e82022-06-13 11:08:18 +08002# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Karl Zhang9379cb72020-08-14 10:16:57 +08003#
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'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080024 default: 'refs/heads/main'
Karl Zhang9379cb72020-08-14 10:16:57 +080025 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080026 Specify which TF-M version to use
27 refs/heads/<branch_name> : Pick up latest HEAD on branch
28 TAG_NAME : Pick up a tagged version
29 full commit hash : Pick up a specific commit
Karl Zhang9379cb72020-08-14 10:16:57 +080030 - string:
31 name: 'GERRIT_BRANCH'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080032 default: 'main'
Karl Zhang9379cb72020-08-14 10:16:57 +080033 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080034 TF-M branch.
Karl Zhang9379cb72020-08-14 10:16:57 +080035 - string:
36 name: 'GERRIT_HOST'
37 default: ''
38 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080039 No need to change.
Karl Zhang9379cb72020-08-14 10:16:57 +080040 - string:
41 name: 'GERRIT_PATCHSET_REVISION'
42 default: ''
43 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080044 No need to change.
Karl Zhang9379cb72020-08-14 10:16:57 +080045 - string:
46 name: 'GERRIT_CHANGE_NUMBER'
47 default: ''
48 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080049 No need to change.
Karl Zhang9379cb72020-08-14 10:16:57 +080050 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010051 name: 'CODE_REPO'
52 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
53 - string:
Karl Zhang9379cb72020-08-14 10:16:57 +080054 name: 'CI_SCRIPTS_REPO'
Riku Voipio02c86792021-09-02 13:42:14 +030055 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Karl Zhang9379cb72020-08-14 10:16:57 +080056 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010057 name: 'CI_SCRIPTS_BRANCH'
58 default: 'master'
Karl Zhang9379cb72020-08-14 10:16:57 +080059 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -050060 name: SHARE_FOLDER
61 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
62 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +080063 wrappers:
64 - timestamps
Karl Zhang9379cb72020-08-14 10:16:57 +080065 pipeline-scm:
66 scm:
67 - git:
68 url: '$CI_SCRIPTS_REPO'
69 branches:
70 - '$CI_SCRIPTS_BRANCH'
71 credentials-id: GIT_SSH_KEY
72 wipe-workspace: false
73 script-path: jenkins/build-docs.jpl