blob: 9c174023a6fb3468def8e58fbd998fde899a166c [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
Xinyu Zhanga16c5e82022-06-13 11:08:18 +08002# Copyright (c) 2020-2022, 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:
16 - build-discarder:
17 days-to-keep: 15
18 num-to-keep: 45
Matthew Hart7cb61f52020-06-15 19:19:23 +010019 - copyartifact:
Karl Zhange43471d2020-09-18 18:46:02 +080020 projects: "tf-m-build-and-test"
Dean Birche4cbc7c2020-01-20 10:40:21 +000021 parameters:
22 - string:
23 name: 'GERRIT_REFSPEC'
24 default: 'refs/heads/master'
25 description: |
26 For use when triggering with unmerged Gerrit changes.
27 - string:
28 name: 'GERRIT_BRANCH'
29 default: 'master'
30 description: |
31 For use when triggering with unmerged Gerrit changes.
32 - string:
33 name: 'GERRIT_HOST'
34 default: ''
35 description: |
36 For use when triggering with unmerged Gerrit changes.
37 - string:
38 name: 'GERRIT_PATCHSET_REVISION'
39 default: ''
40 description: |
41 For use when triggering with unmerged Gerrit changes.
42 - string:
43 name: 'GERRIT_CHANGE_NUMBER'
44 default: ''
45 description: |
46 For use when triggering with unmerged Gerrit changes.
47 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010048 name: 'CODE_REPO'
49 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
50 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000051 name: 'CI_SCRIPTS_REPO'
Riku Voipio02c86792021-09-02 13:42:14 +030052 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000053 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010054 name: 'CI_SCRIPTS_BRANCH'
55 default: 'master'
Dean Birche4cbc7c2020-01-20 10:40:21 +000056 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -050057 name: SHARE_FOLDER
58 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
59 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +080060 wrappers:
61 - timestamps
Dean Birche4cbc7c2020-01-20 10:40:21 +000062 pipeline-scm:
63 scm:
64 - git:
65 url: '$CI_SCRIPTS_REPO'
66 branches:
67 - '$CI_SCRIPTS_BRANCH'
68 credentials-id: GIT_SSH_KEY
69 wipe-workspace: false
70 script-path: jenkins/build-docs.jpl