aboutsummaryrefslogtreecommitdiff
path: root/96boards-hikey-debian.yaml
blob: 285ef84143e9350238ad52071ed13fde20bf2b7a (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
- job:
    name: 96boards-hikey-debian
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
                - job-workspace
            linaro:
                - job-build
                - job-cancel
    parameters:
        - string:
            name: VENDOR
            default: 'linaro'
        - string:
            name: OS_FLAVOUR
            default: 'stretch'
        - string:
            name: PLATFORM_NAME
            default: 'hikey'
        - string:
            name: ROOTFS
            default: 'developer,1800M'
        - string:
            name: PUB_DEST
            default: '96boards/hikey/${VENDOR}/debian/${BUILD_NUMBER}'
    disabled: false
    node: docker-stretch-arm64
    display-name: 'Debian based images for HiKey'
    scm:
        - git:
            url: https://git.linaro.org/ci/fai.git
            refspec: +refs/heads/master:refs/remotes/origin/master
            name: origin
            branches:
                - refs/heads/master
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell:
            !include-raw: 96boards-hikey-debian/builders-fai.sh
        - linaro-publish-token
        - shell: |
            # Publish to snapshots
            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
            time python3 ${HOME}/bin/linaro-cp.py \
                 --server ${PUBLISH_SERVER} \
                 --link-latest \
                 out ${PUB_DEST}
    publishers:
        - groovy-postbuild:
            script:
                !include-raw:
                  - rpb-openembedded/postbuild.groovy
        - email:
            recipients: 'riku.voipio@linaro.org manivannan.sadhasivam@linaro.org'