blob: a525b17a6fd6c5086e909c6f59a4690df99e1e0c [file] [log] [blame]
Benjamin Copeland83414172020-07-28 11:58:16 +01001#-------------------------------------------------------------------------------
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +03002# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Benjamin Copeland83414172020-07-28 11:58:16 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-build-docs
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +030010 description: 'Builds documentation'
Benjamin Copeland83414172020-07-28 11:58:16 +010011 project-type: pipeline
12 disabled: false
13 sandbox: true
14 concurrent: true
15 properties:
Fathi Boudrac6c56ea2020-11-05 11:58:08 +010016 - build-discarder:
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +030017 days-to-keep: 15
Fathi Boudrac6c56ea2020-11-05 11:58:08 +010018 num-to-keep: 45
19 - copyartifact:
20 projects: "tf-m-build-and-test"
Benjamin Copeland83414172020-07-28 11:58:16 +010021 parameters:
22 - string:
23 name: 'GERRIT_REFSPEC'
Xinyu Zhang26437432023-09-25 11:50:23 +080024 default: 'refs/heads/main'
Benjamin Copeland83414172020-07-28 11:58:16 +010025 description: |
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +030026 Specify which TF-M version to use
27 refs/heads/<branch_name> : Pick up latest HEAD on branch
28 TAG_NAME : Pick up a tagged version
29 full commit hash : Pick up a specific commit
Benjamin Copeland83414172020-07-28 11:58:16 +010030 - string:
31 name: 'GERRIT_BRANCH'
Xinyu Zhang26437432023-09-25 11:50:23 +080032 default: 'main'
Benjamin Copeland83414172020-07-28 11:58:16 +010033 description: |
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +030034 TF-M branch.
Benjamin Copeland83414172020-07-28 11:58:16 +010035 - string:
36 name: 'GERRIT_HOST'
37 default: ''
38 description: |
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +030039 No need to change.
Benjamin Copeland83414172020-07-28 11:58:16 +010040 - string:
41 name: 'GERRIT_PATCHSET_REVISION'
42 default: ''
43 description: |
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +030044 No need to change.
Benjamin Copeland83414172020-07-28 11:58:16 +010045 - string:
46 name: 'GERRIT_CHANGE_NUMBER'
47 default: ''
48 description: |
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +030049 No need to change.
Benjamin Copeland83414172020-07-28 11:58:16 +010050 - string:
Fathi Boudrab674f1c2020-11-06 21:37:44 +010051 name: 'CODE_REPO'
52 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
53 - string:
Benjamin Copeland83414172020-07-28 11:58:16 +010054 name: 'CI_SCRIPTS_REPO'
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +030055 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Benjamin Copeland83414172020-07-28 11:58:16 +010056 - string:
Fathi Boudrab674f1c2020-11-06 21:37:44 +010057 name: 'CI_SCRIPTS_BRANCH'
Xinyu Zhangd0c4e912022-01-20 15:50:23 +080058 default: 'master'
Benjamin Copeland83414172020-07-28 11:58:16 +010059 - string:
Leonardo Sandoval3208aea2021-09-17 14:05:27 -050060 name: SHARE_FOLDER
Xinyu Zhanged109d92023-10-24 10:52:50 +080061 default: '/srv/shared/staging/${JOB_NAME}/${BUILD_NUMBER}'
Leonardo Sandoval3208aea2021-09-17 14:05:27 -050062 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang33881cc2021-05-21 14:04:11 +080063 wrappers:
64 - timestamps
Benjamin Copeland83414172020-07-28 11:58:16 +010065 pipeline-scm:
66 scm:
67 - git:
68 url: '$CI_SCRIPTS_REPO'
69 branches:
70 - '$CI_SCRIPTS_BRANCH'
Paul Sokolovsky27c0d1d2024-07-11 15:10:47 +030071 refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
Benjamin Copeland83414172020-07-28 11:58:16 +010072 credentials-id: GIT_SSH_KEY
73 wipe-workspace: false
74 script-path: jenkins/build-docs.jpl