blob: e1386958b2067f03432a3a83346e28412d2dced4 [file] [log] [blame]
Leonardo Sandoval0db971a2020-07-17 17:01:44 -05001#-------------------------------------------------------------------------------
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-static-checks
10 description: 'Runs (ARM) static checks over the source (tree or patch).'
11 project-type: pipeline
12 disabled: false
13 sandbox: true
14 concurrent: true
15 properties:
Riku Voipiod4ea5342020-09-04 16:00:02 +030016 - authorization:
17 anonymous:
18 - job-read
19 - job-extended-read
Leonardo Sandoval0db971a2020-07-17 17:01:44 -050020 - build-discarder:
21 days-to-keep: 15
22 num-to-keep: 45
23 parameters:
24 - string:
25 name: 'GERRIT_HOST'
26 description: |
27 For use when triggering with unmerged Gerrit changes.
28 - string:
29 name: 'GERRIT_REFSPEC'
30 default: '+refs/heads/*:refs/remotes/origin/*'
31 description: |
32 For use when triggering with unmerged Gerrit changes.
33 - string:
34 name: 'GERRIT_BRANCH'
35 default: 'master'
36 description: |
37 For use when triggering with unmerged Gerrit changes.
38 - string:
39 name: 'GERRIT_CHANGE_NUMBER'
40 description: |
41 For use when triggering with unmerged Gerrit changes.
42 - string:
43 name: 'GERRIT_PATCHSET_REVISION'
44 description: |
45 For use when triggering with unmerged Gerrit changes.
46 - string:
47 name: 'CI_SCRIPTS_REPO'
48 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
49 - string:
50 name: 'CODE_REPO'
51 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
52 - string:
Leonardo Sandoval0db971a2020-07-17 17:01:44 -050053 name: 'CI_SCRIPTS_BRANCH'
54 default: 'master'
55 pipeline-scm:
56 scm:
57 - git:
58 url: '$CI_SCRIPTS_REPO'
59 branches:
60 - '$CI_SCRIPTS_BRANCH'
61 credentials-id: GIT_SSH_KEY
62 wipe-workspace: false
63 script-path: jenkins/static-checks.jpl