aboutsummaryrefslogtreecommitdiff
path: root/trigger-lhg-optee-clearkey-cdmi-sanity-check.yaml
blob: b68a93b12be6ee80e6b137c559671180a673b9af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
- job:
    name: trigger-lhg-optee-clearkey-cdmi-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/linaro-mmwg/optee-clearkey-cdmi
    disabled: true
    node: triggers
    display-name: 'Trigger for ClearKey CDMI for OP TEE/LinaroCDM sanity check'
    scm:
        - git:
            url: https://github.com/linaro-mmwg/optee-clearkey-cdmi.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
            white-list-target-branches:
                - 'chromium-53.0.2785.143'
            permit-all: true
            auth-id: 'GITHUB_TOKEN'
    wrappers:
        - timestamps
    builders:
        - trigger-builds:
                - project: 'lhg-oe-build'
                - block: true
        - shell: |
            #!/bin/bash -e
            echo "#${BUILD_NUMBER}-${ghprbActualCommit:0:8}" > ${WORKSPACE}/version.txt
        - build-name-setter:
            name: 'version.txt'
            file: true