blob: 024c2dc180e7a8872ab753c274e1e6d9ae32ff8d [file] [log] [blame]
#-------------------------------------------------------------------------------
# Copyright (c) 2020-2023, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
- job:
name: tf-m-checkpatch
description: 'Runs checkpatch over the source (tree or patch).'
project-type: pipeline
disabled: false
sandbox: true
concurrent: true
properties:
- build-discarder:
days-to-keep: 15
num-to-keep: 45
parameters:
- string:
name: 'GERRIT_HOST'
description: |
No need to change.
- string:
name: 'GERRIT_REFSPEC'
default: '+refs/heads/*:refs/remotes/origin/*'
description: |
Specify which TF-M version to use
refs/heads/<branch_name> : Pick up latest HEAD on branch
TAG_NAME : Pick up a tagged version
full commit hash : Pick up a specific commit
- string:
name: 'GERRIT_BRANCH'
default: 'master'
description: |
TF-M branch.
- string:
name: 'GERRIT_CHANGE_NUMBER'
description: |
No need to change.
- string:
name: 'GERRIT_PATCHSET_REVISION'
description: |
No need to change.
- string:
name: 'CODE_REPO'
default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
- string:
name: 'CI_SCRIPTS_REPO'
default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
- string:
name: 'CI_SCRIPTS_BRANCH'
default: 'master'
- string:
name: 'MBEDTLS_VERSION'
default: 'mbedtls-3.4.0'
description: |
Specify which MBEDTLS version to use
refs/heads/<branch_name> : Pick up latest HEAD on branch
TAG_NAME : Pick up a tagged version
full commit hash : Pick up a specific commit
- string:
name: 'MBEDTLS_URL'
default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
- string:
name: SHARE_FOLDER
default: '/srv/shared/${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/checkpatch.jpl