aboutsummaryrefslogtreecommitdiff
path: root/trigger-openembedded-lkft-linaro-hikey-stable-4.4.yaml
blob: 985b7516690176371b28bbb2881f2a6a41773056 (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
57
- job:
    name: trigger-openembedded-lkft-linaro-hikey-stable-4.4
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    disabled: false
    node: master
    display-name: 'Trigger for LKFT - Linux Stable 4.4 + HiKey'
    scm:
        - git:
            url: https://git.linaro.org/people/sumit.semwal/linux-lts.git
            refspec: +refs/tags/*:refs/remotes/origin/tags/*
            name: origin
            branches:
                - refs/tags/4.4.*-hikey
            skip-tag: true
            shallow-clone: false
            wipe-workspace: false
    triggers:
        - pollscm:
            cron: 'H/5 * * * *'
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash -e
            echo KERNEL_BRANCH=$(git describe --tags --abbrev=0) > lkft_parameters
            echo KERNEL_DESCRIBE=$(git describe --always --tags) >> lkft_parameters
            echo SRCREV_kernel=${GIT_COMMIT} >> lkft_parameters
            echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
            cat lkft_parameters
    publishers:
        - trigger-parameterized-builds:
            - project:
                - 'openembedded-lkft-linaro-hikey-stable-4.4'
              condition: SUCCESS
              property-file: lkft_parameters
        - email-ext:
            recipients: 'lkft-maintainers@lists.linaro.org, sumit.semwal@linaro.org, fathi.boudra@linaro.org, milosz.wasilewski@linaro.org'
            body: |
                Project: ${PROJECT_NAME}
                Build number: ${BUILD_NUMBER}
                Build status: ${BUILD_STATUS}
                Build URL: ${BUILD_URL}

                New upstream tag:
                https://git.linaro.org/people/sumit.semwal/linux-lts.git ${GIT_BRANCH} ${GIT_COMMIT}
            always: true