aboutsummaryrefslogtreecommitdiff
path: root/trigger-linux-eas.yaml
blob: c85ca91293623470e16885fe55ccd3637c6de3ee (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
- job:
    name: trigger-linux-eas
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
    disabled: false
    node: build
    display-name: 'Trigger for Linux EAS'
    scm:
        - git:
            url: http://git.linaro.org/kernel/eas-backports.git
            refspec: +refs/heads/eas-test:refs/remotes/origin/eas-test
            name: origin
            branches:
                - refs/heads/eas-test
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    triggers:
        - pollscm: 'H/5 * * * *'
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash

            trap cleanup_exit INT TERM EXIT

            cleanup_exit()
            {
              exit 0
            }

            echo -n "defconfig_list=omap2plus vexpress" > defconfig.properties
        - trigger-builds:
            - project: 'linux-eas'
              property-file: defconfig.properties