blob: 48208a138f4fd381d4c05a67902afd13464034d6 [file] [log] [blame]
#-------------------------------------------------------------------------------
# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
- job:
name: tf-m-nightly-code-coverage
description: 'Build that triggers nightly to generate code coverage data.'
project-type: pipeline
disabled: false
sandbox: true
concurrent: true
properties:
- build-discarder:
days-to-keep: 90
num-to-keep: 45
triggers:
- timed: 'H 21 * * 6'
parameters:
- string:
name: 'FILTER_GROUP'
default: "coverage_profile_s coverage_profile_m coverage_profile_m_arotless \
coverage_profile_l coverage_ipc_backend coverage_nsce coverage_mmio coverage_fp"
description: |
Filter to a group of configurations as recognised by configs.py
- string:
name: 'CODE_REPO'
default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
description: |
Change to https://review.trustedfirmware.org/TF-M/trusted-firmware-m use when triggering with unmerged Gerrit changes.
- string:
name: 'CI_SCRIPTS_REPO'
default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
- string:
name: 'CI_SCRIPTS_BRANCH'
default: 'master'
- string:
name: 'GERRIT_REFSPEC'
default: 'refs/heads/master'
description: |
For use when triggering with specified tag or master 'refs/heads/master' or 'refs/tags/TF-Mv1.0'.
- string:
name: 'GERRIT_BRANCH'
default: 'master'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_HOST'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_CHANGE_NUMBER'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_PATCHSET_REVISION'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'MBEDTLS_VERSION'
default: 'mbedtls-3.2.1'
- string:
name: 'MBEDTLS_URL'
default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
- string:
name: 'QCBOR_URL'
default: 'https://github.com/laurencelundblade/QCBOR.git'
- string:
name: 'QCBOR_VERSION'
default: 'b0e7033268e88c9f27146fa9a1415ef4c19ebaff'
- string:
name: 'LAVA_URL'
default: 'https://tf.validation.linaro.org'
- string:
name: 'CODE_COVERAGE_EN'
default: 'TRUE'
- string:
name: 'SQUAD_CONFIGURATIONS'
default: 'disabled'
description: 'Send metrics of reference configurations to a SQUAD Dashboard'
- string:
name: 'LAVA_CREDENTIALS'
default: 'LAVA_CREDENTIALS'
description: "Name of Jenkins credential for authentication with LAVA."
- string:
name: 'MCUBOOT_REFSPEC'
default: 'v1.9.0'
description: |
Specify which MCUboot version to use
refs/heads/master : Pick up latest master
refs/tags/<TAG_NAME> : Pick up a tagged version
- string:
name: 'MCUBOOT_URL'
default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
- string:
name: 'TFM_TESTS_URL'
default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
- string:
name: 'TFM_TESTS_REFSPEC'
default: 'refs/heads/master'
- string:
name: 'PSA_ARCH_TESTS_URL'
default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
- string:
name: 'PSA_ARCH_TESTS_VERSION'
default: 'cf8bd7191219df9bdef387abcd750f0709283f98'
- string:
name: SHARE_FOLDER
default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
description: 'Folder containing shared repositories for downstream pipeline jobs'
- string:
name: 'DEVICE_FILTER'
default: '--fvp-only'
description: |
Parameter to lava_create_jobs.py to filter by device type (e.g. --fvp-only or --physical-board-only)
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/ci.jpl