blob: 8b9072317d784ada91106c4eefe8492a3f087a27 [file] [log] [blame]
Fathi Boudra8a0626b2017-10-13 14:04:29 +03001- job:
2 name: trigger-optee-client-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/OP-TEE/optee_client
15 disabled: false
Riku Voipiof4593762021-01-14 15:41:47 +020016 node: triggers
Fathi Boudra8a0626b2017-10-13 14:04:29 +030017 display-name: 'Trigger for OP-TEE Client sanity check'
18 scm:
19 - git:
20 url: https://github.com/OP-TEE/optee_client.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