blob: e4c176bece48358c6fe906b15e3cbc24ecd082bd [file] [log] [blame]
Oliver Smith7ad596e2022-02-04 14:39:57 +01001- project:
2 name: master-builds-dahdi-linux
Harald Welte5f30e8d2023-06-06 15:57:40 +02003 type:
4 torvalds:
5 repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
6 linux-ver:
7 - "master"
8 stable:
9 repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git'
10 - linux-ver:
11 - "linux-4.19.y"
12 - "linux-5.10.y"
13 - "linux-6.1.y"
Oliver Smith7ad596e2022-02-04 14:39:57 +010014 jobs:
Harald Welte5f30e8d2023-06-06 15:57:40 +020015 - 'master-dahdi-linux-{type}-{linux-ver}'
Oliver Smith7ad596e2022-02-04 14:39:57 +010016
17- job-template:
Harald Welte5f30e8d2023-06-06 15:57:40 +020018 name: 'master-dahdi-linux-{type}-{linux-ver}'
Oliver Smith7ad596e2022-02-04 14:39:57 +010019 project-type: freestyle
Oliver Smith5f0876d2022-11-30 14:50:49 +010020 node: osmocom-master
Oliver Smith7ad596e2022-02-04 14:39:57 +010021 concurrent: true
22 retry-count: 0 # scm checkout
23 properties:
24 - build-discarder:
25 days-to-keep: 30
Harald Weltea052c132023-03-28 13:32:23 +020026 num-to-keep: 120
Oliver Smith7ad596e2022-02-04 14:39:57 +010027 description: |
28 Automatic jenkins test job of
29 <a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a>
30 built against linux {linux-ver}
31 (<a href="https://osmocom.org/issues/5407">OS#5407</a>)
32 <br/><br/>
33 <b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b>
34
35 scm:
Oliver Smith27a90922022-11-10 14:09:12 +010036 # Let jenkins clone the big linux repository and keep it between builds
37 # (wipe-workspace is false). Clone dahdi-linux with code from gerrit in
38 # the shell part below.
Oliver Smith7ad596e2022-02-04 14:39:57 +010039 - git:
40 basedir: 'linux'
Harald Welte5f30e8d2023-06-06 15:57:40 +020041 url: '{repo}'
Oliver Smith7ad596e2022-02-04 14:39:57 +010042 branches:
43 - '{linux-ver}'
44 refspec: '{linux-ver}'
45 shallow-clone: true
46 wipe-workspace: false
47 clean:
48 before: true
49
50 triggers:
51 - timed: "H H * * *"
52
53 builders:
54 - shell: |
Oliver Smith27a90922022-11-10 14:09:12 +010055 rm -rf dahdi-linux
56 git clone \
57 --depth=1 \
58 https://gerrit.osmocom.org/dahdi-linux
59 git -C dahdi-linux log --oneline
60
Oliver Smith7ad596e2022-02-04 14:39:57 +010061 docker run \
62 --rm=true \
63 -e "KSRC=/linux" \
64 -v "$PWD/dahdi-linux:/build" \
65 -v "$PWD/linux:/linux" \
Oliver Smith8424c592022-07-06 12:40:52 +020066 "$USER/debian-buster-jenkins" \
Oliver Smith7ad596e2022-02-04 14:39:57 +010067 timeout 10m su build -c /build/contrib/jenkins.sh
68
69 publishers:
70 - warnings:
71 console-log-parsers:
72 - 'GNU C Compiler 4 (gcc)'
73 resolve-relative-paths: true
74 - email:
75 recipients: 'jenkins-notifications@lists.osmocom.org laforge@gnumonks.org'
76 send-to-individuals: true
77
78# vim: expandtab tabstop=2 shiftwidth=2