| #------------------------------------------------------------------------------- |
| # Copyright (c) 2019-2020, Arm Limited. All rights reserved. |
| # |
| # SPDX-License-Identifier: BSD-3-Clause |
| # |
| #------------------------------------------------------------------------------- |
| |
| - job: |
| name: tf-m-build-test-nightly |
| description: | |
| This job is triggered at midnight, builds all configurations and tests |
| them on MPS2 board. |
| project-type: pipeline |
| disabled: false |
| sandbox: true |
| concurrent: false |
| properties: |
| - build-discarder: |
| days-to-keep: 30 |
| num-to-keep: 10 |
| - authorization: |
| suihkulokki: |
| - job-read |
| - job-extended-read |
| - job-build |
| - job-cancel |
| minosgalanakis: |
| - job-read |
| - job-extended-read |
| - job-build |
| - job-cancel |
| bhcopeland: |
| - job-read |
| - job-extended-read |
| - job-build |
| - job-cancel |
| triggers: |
| - timed: "@midnight" |
| parameters: |
| - string: |
| name: 'GERRIT_URL' |
| description: 'Base address of gerrit host' |
| default: 'https://review.trustedfirmware.org' |
| - string: |
| name: 'GERRIT_REFSPEC' |
| description: > |
| Git branch or "refspec" (e.g. rc3, |
| refs/changes/79/91279/2) to work on. |
| default: 'master' |
| - string: |
| name: 'GERRIT_PROJECT' |
| description: > |
| Repository on gerrit server to test |
| against (e.g. iot-sw/tf-m/internal/tf-m |
| default: 'trusted-firmware-m' |
| - string: |
| name: 'REF_DEP_CHECKOUT_NAME' |
| description: > |
| Reference to the job to check out dependencies artifacts from |
| default: 'tf-m-dependencies-checkout' |
| - string: |
| name: 'DEPENDENCIES_ARCHIVE_NAME_ZIP' |
| description: 'Archive name of dependencies artifacts' |
| default: 'tfm_dependencies.zip' |
| - string: |
| name: 'GERRIT_SCRIPTS' |
| description: 'Helper scripts used in conjuction with Jenkins' |
| default: 'ci/tf-m-ci-scripts' |
| - string: |
| name: 'GERRIT_SCRIPTS_REFSP' |
| description: 'Branch or refspec to checkout' |
| default: 'master' |
| - text: |
| name: 'BUILD_PARALLEL_NO' |
| description: "Number of parallel configuration builds." |
| default: '12' |
| - text: |
| name: 'BUILD_THREAD_NO' |
| description: "Number of build threads per configuration build." |
| default: '6' |
| - text: |
| name: 'BUILD_CONFIG_JSON' |
| description: "Build configuration json formatted." |
| - text: |
| name: 'LAVA_TEST_CONFIG_JSON' |
| description: "Override LAVA Test configuration (json format)." |
| - string: |
| name: 'SUMMARY_FILE' |
| description: "Job output aggregrated summary file(Plain text)." |
| default: 'summary.json' |
| - string: |
| name: 'DEPENDENCIES_CONTENTS_FILE' |
| description: 'Artifact name for contents of archive.' |
| default: 'dependencies_checkout_contents.json' |
| - string: |
| name: 'DEPENDENCIES_MBED_CRYPTO_TAG' |
| description: 'Selected version of mbed-crypto (from contents)' |
| default: '3.0.1' |
| - string: |
| name: 'DEPENDENCIES_CMSIS_TAG' |
| description: 'Selected version of cmsis (from contents)' |
| default: '5.5.0' |
| - string: |
| name: 'DEPENDENCIES_FPV_TAG' |
| description: 'Selected version of fastmodel (from contents)' |
| default: '' |
| - string: |
| name: 'DEPENDENCIES_CHECKPATCH_TAG' |
| description: 'Selected version of checkpatch (from contents)' |
| default: '852d095' |
| - string: |
| name: 'FPGA_IMAGES_TAG_LIST' |
| description: > |
| FPGA image names (comma separated list) to be exposed to lava |
| default: 'mps2_an521_v3.0, mps2_an519_v3.0' |
| - string: |
| name: 'LAVA_URL' |
| default: 'https://tf.validation.linaro.org' |
| description: 'URL of the LAVA instance.' |
| - string: |
| name: 'LAVA_CREDENTIAL_ID' |
| default: 'LAVA_TOKEN' |
| description: | |
| 'ID of the Jenkins credential containing a LAVA auth token.' |
| - string: |
| name: 'MAINTAINER_EMAIL' |
| description: 'Person to be notified of failure ( empty = disable )' |
| default: '' |
| - choice: |
| name: 'FASTMODEL_TEST' |
| choices: |
| - Disable |
| - Enable |
| description: "Set to enable Fastmodel testing of artefacts" |
| - choice: |
| name: 'LAVA_TEST' |
| choices: |
| - Disable |
| - Enable |
| description: "Set to enable LAVA testing of artefacts" |
| - choice: |
| name: 'BUILD_DOCS' |
| choices: |
| - Enable |
| - Disable |
| description: "Set to enable Documentation building" |
| dsl: |
| !include-raw: |
| - ./pipelines/tf-m-build-test-review |