aboutsummaryrefslogtreecommitdiff
path: root/linux-xen.yaml
blob: 1581a8b742f6a8a2efb101ed3f000e5b9ab1d4b1 (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
- job:
    name: linux-xen
    project-type: matrix
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
    disabled: false
    display-name: 'Linaro Xen image builds'
    axes:
        - axis:
            type: user-defined
            name: hwpack
            values:
                - arndale
                - mustang
        - axis:
            type: slave
            name: label
            values:
                - docker-utopic
    triggers:
        - timed: 'H(0-30) H(12) * * *'
    wrappers:
        - timestamps
        - matrix-tie-parent:
            node: master
    builders:
        - linaro-publish-token
        - shell: |
            #!/bin/bash -e
            rm -rf xen-ci
            git clone git://git.linaro.org/ci/xen-ci.git xen-ci

            bash -x xen-ci/jenkins/xen-image
            # Publish
            mkdir -p out/
            mv xenlava-${hwpack}.img.xz xenlava-${hwpack}.tar.xz *.dtb Image* uXen* out/||true
            test -d ${HOME}/bin || mkdir ${HOME}/bin
            wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
            python ${HOME}/bin/linaro-cp.py --link-latest out ubuntu/images/xen/${hwpack}/${BUILD_NUMBER}/
        - trigger-builds:
            - project: 'post-build-lava'
              property-file: post_build_lava_parameters
              block: true
    publishers:
        - email:
            recipients: 'riku.voipio@linaro.org'