blob: 0e8290dcbe4992b53dcd6ee6330340cfd14b5435 [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Arm Limited. All rights reserved.
3#
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:
52 name: 'CI_SCRIPTS_REPO'
53 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
54 - string:
55 name: 'CODE_REPO'
Dean Birch1817bb62020-06-02 14:00:23 +010056 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
Dean Birche4cbc7c2020-01-20 10:40:21 +000057 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080058 name: 'MBEDTLS_VERSION'
59 default: 'mbedtls-2.23.0'
60 - string:
61 name: 'MBEDTLS_URL'
62 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
63 - string:
Tamas Ban29d6e442020-09-16 13:42:51 +010064 name: 'MCUBOOT_REFSPEC'
65 default: 'refs/heads/master'
66# default: 'refs/tags/v1.6.0'
Karl Zhang7132c7a2020-06-19 18:56:01 +080067 - string:
68 name: 'MCUBOOT_URL'
Karl Zhang2e1ab8e2020-06-28 15:27:37 +080069 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
Karl Zhang7132c7a2020-06-19 18:56:01 +080070 - string:
Karl Zhang7132c7a2020-06-19 18:56:01 +080071 name: 'TFM_TESTS_URL'
72 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
73 - string:
74 name: 'TFM_TESTS_REFSPEC'
75 default: 'refs/heads/master'
76 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000077 name: 'CI_SCRIPTS_BRANCH'
78 default: 'master'
79 pipeline-scm:
80 scm:
81 - git:
82 url: '$CI_SCRIPTS_REPO'
83 branches:
84 - '$CI_SCRIPTS_BRANCH'
85 credentials-id: GIT_SSH_KEY
86 wipe-workspace: false
87 script-path: jenkins/build-docs.jpl