Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2020, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-cppcheck |
| 10 | description: 'Runs cppcheck over the source (tree or patch).' |
| 11 | project-type: pipeline |
| 12 | disabled: false |
| 13 | sandbox: true |
| 14 | concurrent: true |
| 15 | properties: |
| 16 | - build-discarder: |
| 17 | days-to-keep: 15 |
| 18 | num-to-keep: 45 |
| 19 | parameters: |
| 20 | - string: |
| 21 | name: 'GERRIT_HOST' |
| 22 | description: | |
| 23 | For use when triggering with unmerged Gerrit changes. |
| 24 | - string: |
| 25 | name: 'GERRIT_REFSPEC' |
| 26 | default: '+refs/heads/*:refs/remotes/origin/*' |
| 27 | description: | |
| 28 | For use when triggering with unmerged Gerrit changes. |
| 29 | - string: |
| 30 | name: 'GERRIT_BRANCH' |
| 31 | default: 'master' |
| 32 | description: | |
| 33 | For use when triggering with unmerged Gerrit changes. |
| 34 | - string: |
| 35 | name: 'GERRIT_CHANGE_NUMBER' |
| 36 | description: | |
| 37 | For use when triggering with unmerged Gerrit changes. |
| 38 | - string: |
| 39 | name: 'GERRIT_PATCHSET_REVISION' |
| 40 | description: | |
| 41 | For use when triggering with unmerged Gerrit changes. |
| 42 | - string: |
| 43 | name: 'CI_SCRIPTS_REPO' |
| 44 | default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 45 | - string: |
| 46 | name: 'CODE_REPO' |
Dean Birch | 1817bb6 | 2020-06-02 14:00:23 +0100 | [diff] [blame] | 47 | default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 48 | - string: |
| 49 | name: 'MBEDCRYPTO_VERSION' |
| 50 | default: 'mbedcrypto-3.0.1' |
| 51 | - string: |
| 52 | name: 'MBEDCRYPTO_URL' |
Karl Zhang | 2e1ab8e | 2020-06-28 15:27:37 +0800 | [diff] [blame] | 53 | default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 54 | - string: |
Tamas Ban | b9f2864 | 2020-06-19 12:16:44 +0100 | [diff] [blame] | 55 | name: 'MCUBOOT_VERSION' |
| 56 | default: 'v1.6.0' |
| 57 | - string: |
| 58 | name: 'MCUBOOT_URL' |
Karl Zhang | cee7355 | 2020-07-01 16:52:11 +0800 | [diff] [blame^] | 59 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
Tamas Ban | b9f2864 | 2020-06-19 12:16:44 +0100 | [diff] [blame] | 60 | - string: |
Kevin Peng | c68398a | 2020-06-22 10:57:57 +0800 | [diff] [blame] | 61 | name: 'TFM_TESTS_URL' |
| 62 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 63 | - string: |
| 64 | name: 'TFM_TESTS_REFSPEC' |
| 65 | default: 'refs/heads/master' |
| 66 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 67 | name: 'CMSIS_VERSION' |
| 68 | default: '5.5.0' |
| 69 | - string: |
| 70 | name: 'CI_SCRIPTS_BRANCH' |
| 71 | default: 'master' |
| 72 | pipeline-scm: |
| 73 | scm: |
| 74 | - git: |
| 75 | url: '$CI_SCRIPTS_REPO' |
| 76 | branches: |
| 77 | - '$CI_SCRIPTS_BRANCH' |
| 78 | credentials-id: GIT_SSH_KEY |
| 79 | wipe-workspace: false |
| 80 | script-path: jenkins/cppcheck.jpl |