aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-linux.yaml
blob: 7e716668b8adf941ce333ec1fbcd23f5719ec351 (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
- job:
    name: lt-qcom-linux
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
                - job-workspace
            linaro-landing-team-qualcomm-personnel:
                - job-build
                - job-cancel
    parameters:
        - string:
            name: KERNELREPO
            default: 'https://git.linaro.org/landing-teams/working/qualcomm/kernel.git'
        - string:
            name: KERNELRELEASE
        - string:
            name: KERNELVERSION
        - string:
            name: KERNELBRANCH
    disabled: false
    node: docker-jessie-amd64
    display-name: 'Qualcomm LT Linux kernel build'
    scm:
        - git:
            url: ${KERNELREPO}
            refspec: +refs/heads/${KERNELBRANCH}:refs/remotes/origin/${KERNELBRANCH}
            name: origin
            branches:
                - refs/heads/${KERNELBRANCH}
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash
            set -ex
            echo "Starting ${JOB_NAME} with the following parameters:"
            echo "KERNELRELEASE: ${KERNELRELEASE}"
            echo "KERNELVERSION: ${KERNELVERSION}"
            echo "KERNELBRANCH: ${KERNELBRANCH}"
            echo "GIT_COMMIT: ${GIT_COMMIT}"
            echo "GIT_BRANCH: ${GIT_BRANCH}"
    publishers:
        - email-ext:
            recipients: 'nicolas.dechesne@linaro.org'
            always: true