blob: e2278cf97fd065ffebe8101f4c8aefc9409dfca1 [file] [log] [blame]
Leonardo Sandovalf187d072020-06-17 18:19:59 -05001- defaults:
2 name: global
Chris Kay675db4f2025-06-24 14:14:34 +01003 gerrit-project: TF-A/trusted-firmware-a
4 gerrit-branch: master
5 gerrit-refspec: refs/heads/master
6 days-history: "180"
7 num-to-keep: "180"
8 exec-node: docker-amd64-tf-a-jammy
Leonardo Sandovalf187d072020-06-17 18:19:59 -05009- scm:
10 name: tf-a-ci-scripts
11 scm:
Chris Kay675db4f2025-06-24 14:14:34 +010012 - 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
Leonardo Sandovalf187d072020-06-17 18:19:59 -050022- scm:
23 name: trusted-firmware-a
24 scm:
Chris Kay675db4f2025-06-24 14:14:34 +010025 - 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:
Chris Kay675db4f2025-06-24 14:14:34 +010040 - build-discarder:
41 days-to-keep: '{days-history}'
42 num-to-keep: '{num-to-keep}'
Leonardo Sandovalf187d072020-06-17 18:19:59 -050043 parameters:
Chris Kay675db4f2025-06-24 14:14:34 +010044 - 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}'
Leonardo Sandovalf187d072020-06-17 18:19:59 -050053 disabled: false
54 node: '{exec-node}'
Chris Kay675db4f2025-06-24 14:14:34 +010055 display-name: Trusted Firmware A (TF-A) {static}
Leonardo Sandovalf187d072020-06-17 18:19:59 -050056 scm:
Chris Kay675db4f2025-06-24 14:14:34 +010057 - tf-a-ci-scripts
58 - trusted-firmware-a
Leonardo Sandovalf187d072020-06-17 18:19:59 -050059 wrappers:
Chris Kay675db4f2025-06-24 14:14:34 +010060 - timestamps
Leonardo Sandovalf187d072020-06-17 18:19:59 -050061 builders:
Chris Kay675db4f2025-06-24 14:14:34 +010062 - shell: |
63 #!/bin/bash
64 set -e
65 cd "${{WORKSPACE}}/trusted-firmware-a"
66 "${{WORKSPACE}}/tf-a-ci-scripts/{check-script}"
67 cd -
Leonardo Sandovalf187d072020-06-17 18:19:59 -050068 publishers:
Chris Kay675db4f2025-06-24 14:14:34 +010069 - archive:
70 artifacts: artefacts/**
71 latest-only: false
Leonardo Sandovalf187d072020-06-17 18:19:59 -050072- project:
73 name: tf-a-static
74 static:
Chris Kay675db4f2025-06-24 14:14:34 +010075 - cppcheck:
76 check-script: script/static-checks/static-checks-cppcheck.sh
Leonardo Sandovalf187d072020-06-17 18:19:59 -050077 jobs:
Chris Kay675db4f2025-06-24 14:14:34 +010078 - '{name}-{static}'