aboutsummaryrefslogtreecommitdiff
path: root/trigger-openembedded-lkft-shuah-next-onmaster.yaml
blob: 09c916b8c49ee515df6208dba0d2133395b3f273 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
- job:
    name: trigger-openembedded-lkft-shuah-next-onmaster
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-build
                - job-cancel
            daniel.diaz@linaro.org:
                - job-build
                - job-read
                - job-extended-read
                - job-configure
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    parameters:
        - string:
            name: KERNEL_REPO
            default: 'https://github.com/mrchapp/linux.git'
        - string:
            name: KERNEL_BRANCH
            default: 'shuah-next-onmaster'
        - string:
            name: TEST_SUITES
            default: 'kselftests'
        - string:
            name: NOTIFICATION_EMAIL
            default: 'daniel.diaz@linaro.org'
    disabled: false
    node: triggers
    display-name: 'Trigger for shuah/next rebased on mainline'
    scm:
        - git:
            url: ${KERNEL_REPO}
            refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
            name: origin
            branches:
                - origin/${KERNEL_BRANCH}
            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
            git clean -fdx
            #echo KERNEL_DESCRIBE=$(git describe --always)
            #echo MAKE_KERNELVERSION=$(make kernelversion)
            (
              echo KERNEL_REPO=${KERNEL_REPO}
              echo KERNEL_REV=${GIT_COMMIT}
              echo TEST_SUITES=${TEST_SUITES}
              echo NOTIFICATION_EMAILL=${NOTIFICATION_EMAIL}
              echo TARGET_MACHINE=juno
            ) >> lkft_parameters
            cat lkft_parameters
    publishers:
        - trigger-parameterized-builds:
            - project:
                - 'openembedded-lkft-linux-developer'
              condition: SUCCESS
              property-file: lkft_parameters