blob: e29308f66d81e08173e3ae8dcfb1cebe13332abe [file] [log] [blame]
Karl Zhang9379cb72020-08-14 10:16:57 +08001#-------------------------------------------------------------------------------
Xinyu Zhang59f7fee2021-05-21 14:04:11 +08002# Copyright (c) 2020-2021, 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:
Riku Voipiod4ea5342020-09-04 16:00:02 +030016 - authorization:
Xinyu Zhang911c3e52021-12-01 18:56:25 +080017 !include: authorization.yaml.inc
Karl Zhang9379cb72020-08-14 10:16:57 +080018 - build-discarder:
19 days-to-keep: 15
20 num-to-keep: 45
21 triggers:
22 - timed: 'H 21 * * *'
23 parameters:
24 - string:
25 name: 'GERRIT_REFSPEC'
26 default: 'refs/heads/master'
27 description: |
28 For use when triggering with unmerged Gerrit changes.
29 - string:
30 name: 'GERRIT_BRANCH'
31 default: 'master'
32 description: |
33 For use when triggering with unmerged Gerrit changes.
34 - string:
35 name: 'GERRIT_HOST'
36 default: ''
37 description: |
38 For use when triggering with unmerged Gerrit changes.
39 - string:
40 name: 'GERRIT_PATCHSET_REVISION'
41 default: ''
42 description: |
43 For use when triggering with unmerged Gerrit changes.
44 - string:
45 name: 'GERRIT_CHANGE_NUMBER'
46 default: ''
47 description: |
48 For use when triggering with unmerged Gerrit changes.
49 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010050 name: 'CODE_REPO'
51 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
52 - string:
Karl Zhang9379cb72020-08-14 10:16:57 +080053 name: 'CI_SCRIPTS_REPO'
Riku Voipio02c86792021-09-02 13:42:14 +030054 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Karl Zhang9379cb72020-08-14 10:16:57 +080055 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010056 name: 'CI_SCRIPTS_BRANCH'
57 default: 'master'
Karl Zhang9379cb72020-08-14 10:16:57 +080058 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -050059 name: SHARE_FOLDER
60 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
61 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +080062 wrappers:
63 - timestamps
Karl Zhang9379cb72020-08-14 10:16:57 +080064 pipeline-scm:
65 scm:
66 - git:
67 url: '$CI_SCRIPTS_REPO'
68 branches:
69 - '$CI_SCRIPTS_BRANCH'
70 credentials-id: GIT_SSH_KEY
71 wipe-workspace: false
72 script-path: jenkins/build-docs.jpl