2022-02-04 13:39:57 +00:00
|
|
|
- project:
|
|
|
|
name: master-builds-dahdi-linux
|
|
|
|
linux-ver:
|
|
|
|
- "v4.19"
|
|
|
|
- "v5.10"
|
|
|
|
- "master"
|
|
|
|
jobs:
|
|
|
|
- 'master-dahdi-linux-{linux-ver}'
|
|
|
|
|
|
|
|
- job-template:
|
|
|
|
name: 'master-dahdi-linux-{linux-ver}'
|
|
|
|
project-type: freestyle
|
2022-11-30 13:50:49 +00:00
|
|
|
node: osmocom-master
|
2022-02-04 13:39:57 +00:00
|
|
|
concurrent: true
|
|
|
|
retry-count: 0 # scm checkout
|
|
|
|
properties:
|
|
|
|
- build-discarder:
|
|
|
|
days-to-keep: 30
|
|
|
|
num-to-keep: 120
|
|
|
|
artifact-days-to-keep: -1
|
|
|
|
artifact-num-to-keep: -1
|
|
|
|
description: |
|
|
|
|
Automatic jenkins test job of
|
|
|
|
<a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a>
|
|
|
|
built against linux {linux-ver}
|
|
|
|
(<a href="https://osmocom.org/issues/5407">OS#5407</a>)
|
|
|
|
<br/><br/>
|
|
|
|
<b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b>
|
|
|
|
|
|
|
|
scm:
|
2022-11-10 13:09:12 +00:00
|
|
|
# Let jenkins clone the big linux repository and keep it between builds
|
|
|
|
# (wipe-workspace is false). Clone dahdi-linux with code from gerrit in
|
|
|
|
# the shell part below.
|
2022-02-04 13:39:57 +00:00
|
|
|
- git:
|
|
|
|
basedir: 'linux'
|
|
|
|
url: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
|
|
|
|
branches:
|
|
|
|
- '{linux-ver}'
|
|
|
|
refspec: '{linux-ver}'
|
|
|
|
shallow-clone: true
|
|
|
|
wipe-workspace: false
|
|
|
|
clean:
|
|
|
|
before: true
|
|
|
|
|
|
|
|
triggers:
|
|
|
|
- timed: "H H * * *"
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- shell: |
|
2022-11-10 13:09:12 +00:00
|
|
|
rm -rf dahdi-linux
|
|
|
|
git clone \
|
|
|
|
--depth=1 \
|
|
|
|
https://gerrit.osmocom.org/dahdi-linux
|
|
|
|
git -C dahdi-linux log --oneline
|
|
|
|
|
2022-02-04 13:39:57 +00:00
|
|
|
docker run \
|
|
|
|
--rm=true \
|
|
|
|
-e "KSRC=/linux" \
|
|
|
|
-v "$PWD/dahdi-linux:/build" \
|
|
|
|
-v "$PWD/linux:/linux" \
|
2022-07-06 10:40:52 +00:00
|
|
|
"$USER/debian-buster-jenkins" \
|
2022-02-04 13:39:57 +00:00
|
|
|
timeout 10m su build -c /build/contrib/jenkins.sh
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- warnings:
|
|
|
|
console-log-parsers:
|
|
|
|
- 'GNU C Compiler 4 (gcc)'
|
|
|
|
resolve-relative-paths: true
|
|
|
|
- email:
|
|
|
|
recipients: 'jenkins-notifications@lists.osmocom.org laforge@gnumonks.org'
|
|
|
|
send-to-individuals: true
|
|
|
|
|
|
|
|
# vim: expandtab tabstop=2 shiftwidth=2
|