aboutsummaryrefslogtreecommitdiff
path: root/trigger-lkft-hikey-aosp-4.9.yaml
blob: cb6117594c9f71d97fc0f7942e80534678c17017 (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
51
52
53
54
55
56
- job:
    name: trigger-lkft-hikey-4.9
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
    parameters:
        - string:
            name: KERNEL_BRANCH
            default: 'android-hikey-linaro-4.9'
    disabled: false
    node: master
    display-name: 'Trigger for LKFT HiKey builds (4.9 branch)'
    scm:
        - git:
            remotes:
                - android-hikey-linaro-4.9:
                    url: https://android.googlesource.com/kernel/hikey-linaro
                    refspec: +refs/heads/android-hikey-linaro-4.9:refs/remotes/android-hikey-linaro-4.9/android-hikey-linaro-4.9
                - linux-stable-4.9:
                    url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
                    refspec: +refs/heads/linux-4.9.y:refs/remotes/linux-stable-4.9/linux-4.9.y
            branches:
                - android-hikey-linaro-4.9/android-hikey-linaro-4.9
            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 SRCREV_kernel=${GIT_COMMIT} >> lkft_parameters
            echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
            cat lkft_parameters
    publishers:
        - trigger-parameterized-builds:
            - project:
                - 'lkft-hikey-android-8.1-4.9'
              condition: SUCCESS
              property-file: lkft_parameters
            - project:
                - 'lkft-hikey-android-9.0-4.9'
              condition: SUCCESS
              property-file: lkft_parameters