blob: f899cc6b7c628afef63c6a3acf01f2c5c9357ead [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:
16 - build-discarder:
17 days-to-keep: 15
18 num-to-keep: 45
19 parameters:
20 - string:
21 name: 'GERRIT_REFSPEC'
22 default: 'refs/heads/master'
23 description: |
24 For use when triggering with unmerged Gerrit changes.
25 - string:
26 name: 'GERRIT_BRANCH'
27 default: 'master'
28 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: 'CI_SCRIPTS_REPO'
47 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
48 - string:
49 name: 'CODE_REPO'
Dean Birch1817bb62020-06-02 14:00:23 +010050 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
Dean Birche4cbc7c2020-01-20 10:40:21 +000051 - string:
52 name: 'MBEDCRYPTO_VERSION'
53 default: 'mbedcrypto-3.0.1'
54 - string:
55 name: 'MBEDCRYPTO_URL'
56 default: 'https://github.com/ARMmbed/mbed-crypto.git'
57 - string:
Karl Zhang7132c7a2020-06-19 18:56:01 +080058 name: 'MCUBOOT_VERSION'
59 default: 'v1.6.0'
60 - string:
61 name: 'MCUBOOT_URL'
62 default: 'https://github.com/JuulLabs-OSS/mcuboot.git'
63 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000064 name: 'CMSIS_VERSION'
65 default: '5.5.0'
66 - string:
Karl Zhang7132c7a2020-06-19 18:56:01 +080067 name: 'TFM_TESTS_URL'
68 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
69 - string:
70 name: 'TFM_TESTS_REFSPEC'
71 default: 'refs/heads/master'
72 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000073 name: 'CI_SCRIPTS_BRANCH'
74 default: 'master'
75 pipeline-scm:
76 scm:
77 - git:
78 url: '$CI_SCRIPTS_REPO'
79 branches:
80 - '$CI_SCRIPTS_BRANCH'
81 credentials-id: GIT_SSH_KEY
82 wipe-workspace: false
83 script-path: jenkins/build-docs.jpl