diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-10-13 14:04:29 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-10-17 06:24:04 +0000 |
commit | 8a0626bcb0277c45c9210ba092eb8b3c98fd90ba (patch) | |
tree | a9f38cbaec590b6a082d94c8ece0d91814b917cc /trigger-optee-os-sanity-check.yaml | |
parent | d88692386ee775170f0bb2cf8545dbbd8a6bcbc7 (diff) |
trigger-optee-*-sanity-check: add github pr triggers
Change-Id: If0b2d2c412756489120e70d4c060670a3210f5dd
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'trigger-optee-os-sanity-check.yaml')
-rw-r--r-- | trigger-optee-os-sanity-check.yaml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/trigger-optee-os-sanity-check.yaml b/trigger-optee-os-sanity-check.yaml new file mode 100644 index 00000000..72d441ed --- /dev/null +++ b/trigger-optee-os-sanity-check.yaml @@ -0,0 +1,41 @@ +- job: + name: trigger-optee-os-sanity-check + project-type: freestyle + defaults: global + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - build-discarder: + days-to-keep: 30 + num-to-keep: 30 + - github: + url: https://github.com/OP-TEE/optee_os + disabled: false + node: master + display-name: 'Trigger for OP-TEE Trusted OS sanity check' + scm: + - git: + url: https://github.com/OP-TEE/optee_os.git + refspec: +refs/pull/*:refs/remotes/origin/pr/* + name: origin + branches: + - ${sha1} + skip-tag: true + shallow-clone: true + wipe-workspace: true + triggers: + - github-pull-request: + github-hooks: true + permit-all: true + auth-id: 'GITHUB_TOKEN' + wrappers: + - timestamps + builders: + - shell: | + #!/bin/bash -e + echo "#${BUILD_NUMBER}-${ghprbActualCommit:0:8}" > ${WORKSPACE}/version.txt + - build-name-setter: + name: 'version.txt' + file: true |