blob: 5fff09809fbbe9d1740f0385063d3104b7990498 [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
Xinyu Zhang59f7fee2021-05-21 14:04:11 +08002# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
Dean Birche4cbc7c2020-01-20 10:40:21 +00003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-build-docs
10 description: 'Builds documentation'
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
Dean Birche4cbc7c2020-01-20 10:40:21 +000020 - build-discarder:
21 days-to-keep: 15
22 num-to-keep: 45
Matthew Hart7cb61f52020-06-15 19:19:23 +010023 - copyartifact:
Karl Zhange43471d2020-09-18 18:46:02 +080024 projects: "tf-m-build-and-test"
Dean Birche4cbc7c2020-01-20 10:40:21 +000025 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:
Fathi Boudraccaba542020-11-19 10:11:43 +010052 name: 'CODE_REPO'
53 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
54 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000055 name: 'CI_SCRIPTS_REPO'
Riku Voipio02c86792021-09-02 13:42:14 +030056 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000057 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010058 name: 'CI_SCRIPTS_BRANCH'
59 default: 'master'
Dean Birche4cbc7c2020-01-20 10:40:21 +000060 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -050061 name: SHARE_FOLDER
62 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
63 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +080064 wrappers:
65 - timestamps
Dean Birche4cbc7c2020-01-20 10:40:21 +000066 pipeline-scm:
67 scm:
68 - git:
69 url: '$CI_SCRIPTS_REPO'
70 branches:
71 - '$CI_SCRIPTS_BRANCH'
72 credentials-id: GIT_SSH_KEY
73 wipe-workspace: false
74 script-path: jenkins/build-docs.jpl