blob: 28347ce6796033c786420ef3c0558a6f50b38833 [file] [log] [blame]
Leonardo Sandovalf187d072020-06-17 18:19:59 -05001- defaults:
2 name: global
3 gerrit-project: 'TF-A/trusted-firmware-a'
4 gerrit-branch: 'master'
5 gerrit-refspec: 'refs/heads/master'
Leonardo Sandovaleb141602020-07-13 14:21:20 -05006 days-to-keep: '180'
7 num-to-keep: '180'
Leonardo Sandoval61aeb4e2020-11-02 16:29:33 -06008 exec-node: 'docker-amd64-tf-a-bionic'
Leonardo Sandovalf187d072020-06-17 18:19:59 -05009- scm:
10 name: tf-a-ci-scripts
11 scm:
12 - git:
13 url: https://git.trustedfirmware.org/ci/tf-a-ci-scripts.git
14 refspec: +refs/heads/master:refs/remotes/origin/master
15 name: origin
16 branches:
17 - refs/heads/master
18 basedir: tf-a-ci-scripts
19 skip-tag: true
20 shallow-clone: true
21 wipe-workspace: false
22- scm:
23 name: trusted-firmware-a
24 scm:
25 - git:
26 url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
27 refspec: ${GERRIT_REFSPEC}
28 name: origin
29 branches:
30 - ${GERRIT_BRANCH}
31 basedir: trusted-firmware-a
32 skip-tag: true
33 shallow-clone: true
34 wipe-workspace: false
Leonardo Sandovalf187d072020-06-17 18:19:59 -050035- job-template:
36 name: '{name}-{static}'
37 project-type: freestyle
38 defaults: global
39 properties:
40 - build-discarder:
41 days-to-keep: '{days-to-keep}'
42 num-to-keep: '{num-to-keep}'
43 parameters:
44 - string:
45 name: GERRIT_PROJECT
46 default: '{gerrit-project}'
47 - string:
48 name: GERRIT_BRANCH
49 default: '{gerrit-branch}'
50 - string:
51 name: GERRIT_REFSPEC
52 default: '{gerrit-refspec}'
53 disabled: false
54 node: '{exec-node}'
55 display-name: 'Trusted Firmware A (TF-A) {static}'
56 scm:
57 - tf-a-ci-scripts
58 - trusted-firmware-a
59 wrappers:
60 - timestamps
Leonardo Sandovalf187d072020-06-17 18:19:59 -050061 builders:
62 - shell: |
63 #!/bin/bash
64 set -e
65 cd "${{WORKSPACE}}/trusted-firmware-a"
66 "${{WORKSPACE}}/tf-a-ci-scripts/{check-script}"
67 cd -
68 publishers:
69 - archive:
70 artifacts: 'artefacts/**'
71 latest-only: false
Leonardo Sandovalf187d072020-06-17 18:19:59 -050072- project:
73 name: tf-a-static
74 static:
75 - cppcheck:
76 check-script: "script/static-checks/static-checks-cppcheck.sh"
Leonardo Sandovalf187d072020-06-17 18:19:59 -050077 jobs:
78 - '{name}-{static}'