blob: b28a4c9f85bf641696420b37b94087e3be365d77 [file] [log] [blame]
#-------------------------------------------------------------------------------
# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
- job:
name: tf-m-build-docs
description: 'Staging - Builds documentation'
project-type: pipeline
disabled: false
sandbox: true
concurrent: true
properties:
- build-discarder:
days-to-keep: 5
num-to-keep: 45
- copyartifact:
projects: "tf-m-build-and-test"
parameters:
- string:
name: 'GERRIT_REFSPEC'
default: 'refs/heads/main'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_BRANCH'
default: 'main'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_HOST'
default: ''
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_PATCHSET_REVISION'
default: ''
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_CHANGE_NUMBER'
default: ''
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'CODE_REPO'
default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
- string:
name: 'CI_SCRIPTS_REPO'
default: 'https://review.trustedfirmware.org/next/ci/tf-m-ci-scripts'
- string:
name: 'CI_SCRIPTS_BRANCH'
default: 'master'
- string:
name: SHARE_FOLDER
default: '/srv/shared/staging/${JOB_NAME}/${BUILD_NUMBER}'
description: 'Folder containing shared repositories for downstream pipeline jobs'
wrappers:
- timestamps
pipeline-scm:
scm:
- git:
url: '$CI_SCRIPTS_REPO'
branches:
- '$CI_SCRIPTS_BRANCH'
credentials-id: GIT_SSH_KEY
wipe-workspace: false
script-path: jenkins/build-docs.jpl