blob: ec9223f7ffc6a5161bda4ff6cae044346f0e8f70 [file] [log] [blame]
#-------------------------------------------------------------------------------
# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
- job:
name: tf-m-nightly
description: 'Build that triggers nightly to build many configurations.'
project-type: pipeline
disabled: false
sandbox: true
concurrent: true
properties:
- build-discarder:
days-to-keep: 15
num-to-keep: 45
- authorization:
!include: authorization.yaml.inc
triggers:
- timed: 'H 21 * * *'
parameters:
- string:
name: 'FILTER_GROUP'
default: 'nightly_test nightly_profile nightly_psa_api nightly_ff nightly_otp nightly_stm32l562e_dk'
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 unmerged Gerrit changes.
- 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-2.26.0'
- string:
name: 'MBEDTLS_URL'
default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
- string:
name: 'LAVA_URL'
default: 'https://tf.validation.linaro.org'
- string:
name: 'CODE_COVERAGE_EN'
default: 'FALSE'
- string:
name: 'LAVA_CREDENTIALS'
default: 'LAVA_CREDENTIALS'
description: "Name of Jenkins credential for authentication with LAVA."
- string:
name: 'EMAIL_NOTIFICATION'
default: 'tf-m-ci-notifications@lists.trustedfirmware.org'
- string:
name: 'SQUAD_CONFIGURATIONS'
default: 'DefaultProfileS,MinSizeProfileS,DefaultProfileM,DefaultProfileL'
description: 'Reference configurations whose metrics will be sent to a SQUAD Dashboard'
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