aboutsummaryrefslogtreecommitdiff
path: root/trigger-linux-stable-rc.yaml
blob: 02ae43325185d8171cf98b821f5736f4824dc5d3 (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
69
70
71
72
- job:
    name: trigger-linux-stable-rc
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    disabled: false
    node: master
    display-name: 'Trigger for Linux Stable RC'
    scm:
        - git:
            remotes:
              - linux-stable-rc:
                  url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
              - linux-stable:
                  url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
            branches:
              - linux-stable-rc/linux-4.4.y
              - linux-stable-rc/linux-4.9.y
              - linux-stable-rc/linux-4.14.y
              - linux-stable-rc/linux-4.19.y
              - linux-stable-rc/linux-5.4.y
              - linux-stable-rc/linux-5.5.y
            name: linux
            skip-tag: true
            shallow-clone: false
            wipe-workspace: false
    triggers:
        - pollscm:
            cron: 'H/5 * * * *'
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_BRANCH#linux-stable-rc/}-${GIT_REVISION,length=8}'

    builders:
        - shell: |
            #!/bin/bash -ex
            git clean -fdx
            env
            params=$(echo $GIT_BRANCH|sed s,linux-stable-rc/,lkft-,).txt
            echo KERNEL_DESCRIBE=$(git describe --always) >> $params
            echo SRCREV_kernel=${GIT_COMMIT} >> $params
            echo MAKE_KERNELVERSION=$(make kernelversion) >> $params
            cat $params
        - trigger-builds:
            - project: lkft-hikey-4.4-rc-p
              property-file: lkft-linux-4.4.y.txt
            - project: lkft-hikey-4.9-rc
              property-file: lkft-linux-4.9.y.txt
            - project: lkft-hikey-4.14-rc
              property-file: lkft-linux-4.14.y.txt
            - project: lkft-hikey-4.19-rc
              property-file: lkft-linux-4.19.y.txt
            - project: openembedded-lkft-linux-stable-rc-4.4
              property-file: lkft-linux-4.4.y.txt
            - project: openembedded-lkft-linux-stable-rc-4.9
              property-file: lkft-linux-4.9.y.txt
            - project: openembedded-lkft-linux-stable-rc-4.14
              property-file: lkft-linux-4.14.y.txt
            - project: openembedded-lkft-linux-stable-rc-4.19
              property-file: lkft-linux-4.19.y.txt
            - project: openembedded-lkft-linux-stable-rc-5.4
              property-file: lkft-linux-5.4.y.txt
            - project: openembedded-lkft-linux-stable-rc-5.5
              property-file: lkft-linux-5.5.y.txt