aboutsummaryrefslogtreecommitdiff
path: root/trigger-lt-qcom-linux-4.9.0.yaml
blob: eb6c4d7e247f993a34aea592853dcf33ac274784 (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
- job:
    name: trigger-lt-qcom-linux-4.9.0
    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
    disabled: false
    node: build
    display-name: 'Trigger for QCOM LT kernel 4.9 branch'
    scm:
        - git:
            url: https://git.linaro.org/git/landing-teams/working/qualcomm/kernel.git
            refspec: +refs/heads/release/*:refs/remotes/origin/release/*
            name: origin
            branches:
                - refs/heads/release/qcomlt-4.9
            skip-tag: true
            shallow-clone: false
            wipe-workspace: false
    triggers:
        - pollscm: 'H/5 * * * *'
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash -e

            # bring in stable and mainline tags
            git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git
            git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git

            echo KERNEL_VERSION=$(make kernelversion) > qcomlt_parameters
            echo KERNEL_DESCRIBE=$(git describe --always) >> qcomlt_parameters
            echo KERNEL_BRANCH=$(echo ${GIT_BRANCH} | sed  's|origin/||') >> qcomlt_parameters
            cat qcomlt_parameters
    publishers:
        - trigger-parameterized-builds:
            - project:
                - 'lt-qcom-linux'
              condition: SUCCESS
              property-file: qcomlt_parameters