blob: 12503454fa1728c9ae7940bc5c900df12ccd6d4f [file] [log] [blame]
Xinyu Zhang40f99012021-06-25 16:35:44 +08001#-------------------------------------------------------------------------------
Paul Sokolovsky41994ac2023-02-17 17:49:25 +07002# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Xinyu Zhang40f99012021-06-25 16:35:44 +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:
Xinyu Zhang40f99012021-06-25 16:35:44 +080016 - build-discarder:
Xinyu Zhang7d4feea2022-09-14 13:37:23 +080017 days-to-keep: 5
Xinyu Zhang40f99012021-06-25 16:35:44 +080018 num-to-keep: 45
19 parameters:
20 - string:
21 name: 'GERRIT_REFSPEC'
Xinyu Zhang26437432023-09-25 11:50:23 +080022 default: 'refs/heads/main'
Xinyu Zhang40f99012021-06-25 16:35:44 +080023 description: |
24 For use when triggering with unmerged Gerrit changes.
25 - string:
26 name: 'GERRIT_BRANCH'
Xinyu Zhang26437432023-09-25 11:50:23 +080027 default: 'main'
Xinyu Zhang40f99012021-06-25 16:35:44 +080028 description: |
29 For use when triggering with unmerged Gerrit changes.
30 - string:
31 name: 'GERRIT_HOST'
32 default: ''
33 description: |
34 For use when triggering with unmerged Gerrit changes.
35 - string:
36 name: 'GERRIT_PATCHSET_REVISION'
37 default: ''
38 description: |
39 For use when triggering with unmerged Gerrit changes.
40 - string:
41 name: 'GERRIT_CHANGE_NUMBER'
42 default: ''
43 description: |
44 For use when triggering with unmerged Gerrit changes.
45 - string:
46 name: 'CODE_REPO'
47 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
48 - string:
49 name: 'CI_SCRIPTS_REPO'
Xinyu Zhangf055c372023-12-07 18:02:01 +080050 default: 'https://review.trustedfirmware.org/next/ci/tf-m-ci-scripts'
Xinyu Zhang40f99012021-06-25 16:35:44 +080051 - string:
52 name: 'CI_SCRIPTS_BRANCH'
Xinyu Zhangd0c4e912022-01-20 15:50:23 +080053 default: 'master'
Xinyu Zhang40f99012021-06-25 16:35:44 +080054 - string:
Leonardo Sandoval3208aea2021-09-17 14:05:27 -050055 name: SHARE_FOLDER
Xinyu Zhanged109d92023-10-24 10:52:50 +080056 default: '/srv/shared/staging/${JOB_NAME}/${BUILD_NUMBER}'
Leonardo Sandoval3208aea2021-09-17 14:05:27 -050057 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang40f99012021-06-25 16:35:44 +080058 wrappers:
59 - timestamps
60 pipeline-scm:
61 scm:
62 - git:
63 url: '$CI_SCRIPTS_REPO'
64 branches:
65 - '$CI_SCRIPTS_BRANCH'
66 credentials-id: GIT_SSH_KEY
67 wipe-workspace: false
68 script-path: jenkins/build-docs.jpl