Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 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 |
Matthew Hart | 7cb61f5 | 2020-06-15 19:19:23 +0100 | [diff] [blame] | 19 | - copyartifact: |
| 20 | projects: "tf-m-nightly,tf-m-build-and-test" |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 21 | 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: |
| 48 | name: 'CI_SCRIPTS_REPO' |
| 49 | default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 50 | - string: |
| 51 | name: 'CODE_REPO' |
Dean Birch | 1817bb6 | 2020-06-02 14:00:23 +0100 | [diff] [blame] | 52 | default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 53 | - string: |
| 54 | name: 'MBEDCRYPTO_VERSION' |
| 55 | default: 'mbedcrypto-3.0.1' |
| 56 | - string: |
| 57 | name: 'MBEDCRYPTO_URL' |
Karl Zhang | 2e1ab8e | 2020-06-28 15:27:37 +0800 | [diff] [blame^] | 58 | default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 59 | - string: |
Karl Zhang | 7132c7a | 2020-06-19 18:56:01 +0800 | [diff] [blame] | 60 | name: 'MCUBOOT_VERSION' |
| 61 | default: 'v1.6.0' |
| 62 | - string: |
| 63 | name: 'MCUBOOT_URL' |
Karl Zhang | 2e1ab8e | 2020-06-28 15:27:37 +0800 | [diff] [blame^] | 64 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
Karl Zhang | 7132c7a | 2020-06-19 18:56:01 +0800 | [diff] [blame] | 65 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 66 | name: 'CMSIS_VERSION' |
| 67 | default: '5.5.0' |
| 68 | - string: |
Karl Zhang | 7132c7a | 2020-06-19 18:56:01 +0800 | [diff] [blame] | 69 | name: 'TFM_TESTS_URL' |
| 70 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 71 | - string: |
| 72 | name: 'TFM_TESTS_REFSPEC' |
| 73 | default: 'refs/heads/master' |
| 74 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 75 | name: 'CI_SCRIPTS_BRANCH' |
| 76 | default: 'master' |
| 77 | pipeline-scm: |
| 78 | scm: |
| 79 | - git: |
| 80 | url: '$CI_SCRIPTS_REPO' |
| 81 | branches: |
| 82 | - '$CI_SCRIPTS_BRANCH' |
| 83 | credentials-id: GIT_SSH_KEY |
| 84 | wipe-workspace: false |
| 85 | script-path: jenkins/build-docs.jpl |