aboutsummaryrefslogtreecommitdiff
path: root/tcwg-trigger-buildapp.yaml
blob: f6b3107b08b0bf8b039e2f3e2e97fe01bc75bb03 (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
- job:
    name: tcwg-trigger-buildapp
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    disabled: true
    node: tcwg-coordinator
    retry-count: 3
    concurrent: false
    display-name: 'TCWG Trigger Buildapp'
    triggers:
        # Every day at 2:02am
        - timed: '2 2 * * *'
    wrappers:
        - timeout:
            timeout: 600
        - timestamps
        - ssh-agent-credentials:
            # tcwg-buildslave user id
            users:
                - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
    builders:
        - shell: |
            #!/bin/bash
            set -ex

            cat << EOF > buildapp_parameters
            toolchain_url="http://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/"
            app_list="linux+multi_v7"
            boot=true
            target_list="arm-linux-gnueabihf"
            EOF

        - trigger-builds:
            - project: tcwg-buildapp
              property-file: buildapp_parameters
              block: true
    publishers:
        - workspace-cleanup:
             include:
              - "*_parameters"
        - email-ext:
             recipients: 'christophe.lyon@linaro.org'
             aborted: true