blob: a8e4e08c82787728a749e12bfdaac3fc86589890 [file] [log] [blame]
Victor Chongd3a7a042019-10-24 19:03:20 +01001- job:
2 name: trigger-optee-examples-sanity-check
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 - github:
14 url: https://github.com/linaro-swg/optee_examples
15 disabled: false
Riku Voipiof4593762021-01-14 15:41:47 +020016 node: triggers
Victor Chongd3a7a042019-10-24 19:03:20 +010017 display-name: 'Trigger for OP-TEE Examples sanity check'
18 scm:
19 - git:
20 url: https://github.com/linaro-swg/optee_examples.git
21 refspec: +refs/pull/*:refs/remotes/origin/pr/*
22 name: origin
23 branches:
24 - ${sha1}
25 skip-tag: true
26 shallow-clone: true
27 wipe-workspace: true
28 triggers:
29 - github-pull-request:
30 github-hooks: true
31 permit-all: true
32 auth-id: 'GITHUB_TOKEN'
33 wrappers:
34 - timestamps
35 builders:
36 - shell: |
37 #!/bin/bash -e
38 echo "#${BUILD_NUMBER}-${ghprbActualCommit:0:8}" > ${WORKSPACE}/version.txt
39 - build-name-setter:
40 name: 'version.txt'
41 file: true
Victor Chong15af0572019-10-31 17:19:23 +000042 - trigger-builds:
43 - project:
44 - 'android-hikey-optee-p'
45 current-parameters: true
46 block: true