blob: 732d8405844c91a7435cb2d3096f659233b57628 [file] [log] [blame]
Benjamin Copeland3ccf43a2019-04-04 09:31:39 +01001- job:
2 name: hello-world
3 project-type: freestyle
4 defaults: global
5 properties:
6 - authorization:
7 anonymous:
8 - job-read
9 - job-extended-read
10 - build-discarder:
11 days-to-keep: 30
12 num-to-keep: 30
13 disabled: false
14 node: amd64-bionic
15 display-name: 'CI job to test jenkins slave'
16 scm:
17 - git:
18 url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
19 refspec: ${GERRIT_REFSPEC}
20 branches:
21 - ${GERRIT_BRANCH}
22 skip-tag: true
23 clean:
24 before: true
25 choosing-strategy: gerrit
26 basedir: configs
27 triggers:
28 - gerrit:
Saheer Babucaf89d52024-11-05 14:16:24 +000029 silent: true
Benjamin Copeland3ccf43a2019-04-04 09:31:39 +010030 server-name: 'review.trustedfirmware.org'
31 trigger-on:
32 - patchset-created-event
33 projects:
34 - project-compare-type: 'PLAIN'
35 project-pattern: 'ci/tf-ci-scripts'
36 branches:
37 - branch-pattern: 'master'
38 silent-start: true
39 wrappers:
40 - timestamps
41 builders:
42 - shell: |
43 #!/bin/bash -e
44 echo "#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION:0:8}" > ${WORKSPACE}/version.txt
45 - build-name-setter:
46 name: 'version.txt'
47 file: true
48 - shell: |
49 #!/bin/bash
50
51 set -e
52
53 echo ""
54 echo "########################################################################"
55 echo " Gerrit Environment"
56 env |grep '^GERRIT'
57 echo "########################################################################"
Saheer Babu08f49c52025-01-15 11:27:46 +000058 # publishers:
59 # - email:
60 # recipients: 'ben.copeland@linaro.org'