Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Xinyu Zhang | 59f7fee | 2021-05-21 14:04:11 +0800 | [diff] [blame] | 2 | # Copyright (c) 2020-2021, Arm Limited. All rights reserved. |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-build-docs-nightly |
| 10 | description: 'Builds documentation from repo by nightly' |
| 11 | project-type: pipeline |
| 12 | disabled: false |
| 13 | sandbox: true |
| 14 | concurrent: true |
| 15 | properties: |
Riku Voipio | d4ea534 | 2020-09-04 16:00:02 +0300 | [diff] [blame] | 16 | - authorization: |
Xinyu Zhang | 911c3e5 | 2021-12-01 18:56:25 +0800 | [diff] [blame] | 17 | !include: authorization.yaml.inc |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 18 | - build-discarder: |
| 19 | days-to-keep: 15 |
| 20 | num-to-keep: 45 |
| 21 | triggers: |
| 22 | - timed: 'H 21 * * *' |
| 23 | parameters: |
| 24 | - string: |
| 25 | name: 'GERRIT_REFSPEC' |
| 26 | default: 'refs/heads/master' |
| 27 | description: | |
| 28 | For use when triggering with unmerged Gerrit changes. |
| 29 | - string: |
| 30 | name: 'GERRIT_BRANCH' |
| 31 | default: 'master' |
| 32 | description: | |
| 33 | For use when triggering with unmerged Gerrit changes. |
| 34 | - string: |
| 35 | name: 'GERRIT_HOST' |
| 36 | default: '' |
| 37 | description: | |
| 38 | For use when triggering with unmerged Gerrit changes. |
| 39 | - string: |
| 40 | name: 'GERRIT_PATCHSET_REVISION' |
| 41 | default: '' |
| 42 | description: | |
| 43 | For use when triggering with unmerged Gerrit changes. |
| 44 | - string: |
| 45 | name: 'GERRIT_CHANGE_NUMBER' |
| 46 | default: '' |
| 47 | description: | |
| 48 | For use when triggering with unmerged Gerrit changes. |
| 49 | - string: |
Fathi Boudra | ccaba54 | 2020-11-19 10:11:43 +0100 | [diff] [blame] | 50 | name: 'CODE_REPO' |
| 51 | default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
| 52 | - string: |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 53 | name: 'CI_SCRIPTS_REPO' |
Riku Voipio | 02c8679 | 2021-09-02 13:42:14 +0300 | [diff] [blame] | 54 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 55 | - string: |
Fathi Boudra | ccaba54 | 2020-11-19 10:11:43 +0100 | [diff] [blame] | 56 | name: 'CI_SCRIPTS_BRANCH' |
| 57 | default: 'master' |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 58 | - string: |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 59 | name: SHARE_FOLDER |
| 60 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 61 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
Xinyu Zhang | 59f7fee | 2021-05-21 14:04:11 +0800 | [diff] [blame] | 62 | wrappers: |
| 63 | - timestamps |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 64 | pipeline-scm: |
| 65 | scm: |
| 66 | - git: |
| 67 | url: '$CI_SCRIPTS_REPO' |
| 68 | branches: |
| 69 | - '$CI_SCRIPTS_BRANCH' |
| 70 | credentials-id: GIT_SSH_KEY |
| 71 | wipe-workspace: false |
| 72 | script-path: jenkins/build-docs.jpl |