aboutsummaryrefslogtreecommitdiff
path: root/trigger-lkft-hikey-dlezcano-4.14.yaml
blob: 97b8aa988415b8299bd25609bc0e317b4f7906c5 (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
47
48
49
50
- job:
    name: trigger-lkft-hikey-dlezcano-4.14
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
    parameters:
        - string:
            name: KERNEL_BRANCH
            default: 'lkft'
    disabled: false
    node: triggers
    display-name: 'Trigger for LKFT HiKey builds (4.14 branch)'
    scm:
        - git:
            remotes:
                - android-hikey-dlezcano-4.14:
                    url: https://git.linaro.org/people/daniel.lezcano/android.git
                    refspec: +refs/heads/lkft:refs/remotes/android-hikey-dlezcano-4.14/lkft
            branches:
                - android-hikey-dlezcano-4.14/lkft
            skip-tag: true
            shallow-clone: false
            wipe-workspace: false
    triggers:
        - pollscm: 'H/5 * * * *'
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash -e
            echo KERNEL_DESCRIBE=$(git describe --always) > lkft_parameters
            echo KERNEL_COMMIT=${GIT_COMMIT} >> lkft_parameters
            echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
            cat lkft_parameters
    publishers:
        - trigger-parameterized-builds:
            - project:
                - 'openembedded-lkft-dlezcano-4.14'
              condition: SUCCESS
              property-file: lkft_parameters