aboutsummaryrefslogtreecommitdiff
path: root/lkft-hikey-aosp-4.9.yaml
blob: e900777be80fa53e13f15489dae650579b663774 (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: lkft-hikey-aosp-4.9
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 60
        numToKeep: 60
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-build
                - job-cancel
    parameters:
        - string:
            name: REFERENCE_AOSP_BUILD
            default: 'http://builds.96boards.org/snapshots/hikey/linaro/aosp-master/368/'
        - string:
            name: KERNEL_BRANCH
            default: 'android-hikey-linaro-4.9'
    disabled: false
    node: docker-xenial-aosp
    display-name: 'LKFT - HiKey AOSP 4.9 Kernel test'
    scm:
        - git:
            url: https://android.googlesource.com/kernel/hikey-linaro
            refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
            name: origin
            branches:
                - origin/${KERNEL_BRANCH}
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
        - timeout:
            timeout: 500
    builders:
        - shell:
            !include-raw:
                - lkft/hikey-aosp/builders.sh
        - linaro-publish-token
        - shell: |
            #!/bin/bash

            wget -q https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/android-lcr/hikey/build-info/aosp-master-template.txt -O out/BUILD-INFO.txt

            # Publish
            test -d ${HOME}/bin || mkdir ${HOME}/bin
            wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
            time python ${HOME}/bin/linaro-cp.py \
              --server ${PUBLISH_SERVER} \
              --build-info out/BUILD-INFO.txt \
              --link-latest \
              out/ android/lkft/${JOB_NAME}/${BUILD_NUMBER}
    publishers:
        - logparser:
            parse-rules: '/var/lib/jenkins/userContent/android.parse'
            unstable-on-warning: false
            fail-on-error: false
        - fingerprint:
            files: 'build/fingerprints/*'
        - email:
            recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org'