2022-02-04 09:30:24 +00:00
|
|
|
- project:
|
2023-06-06 14:28:56 +00:00
|
|
|
name: gerrit-dahdi-linux-stable
|
|
|
|
type: stable
|
|
|
|
repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git'
|
|
|
|
linux-ver:
|
|
|
|
- "linux-4.19.y"
|
|
|
|
- "linux-5.10.y"
|
|
|
|
- "linux-6.1.y"
|
|
|
|
jobs:
|
|
|
|
- 'gerrit-dahdi-linux-{type}-{linux-ver}'
|
|
|
|
|
|
|
|
- project:
|
|
|
|
name: gerrit-dahdi-linux-torvalds
|
|
|
|
type: torvalds
|
|
|
|
repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
|
2022-02-04 09:30:24 +00:00
|
|
|
linux-ver:
|
2022-04-24 17:48:47 +00:00
|
|
|
- "master"
|
2022-02-04 09:30:24 +00:00
|
|
|
jobs:
|
2023-06-06 14:28:56 +00:00
|
|
|
- 'gerrit-dahdi-linux-{type}-{linux-ver}'
|
|
|
|
|
2022-02-04 09:30:24 +00:00
|
|
|
|
|
|
|
- job-template:
|
2023-06-06 14:28:56 +00:00
|
|
|
name: 'gerrit-dahdi-linux-{type}-{linux-ver}'
|
2022-02-04 09:30:24 +00:00
|
|
|
project-type: freestyle
|
2022-11-30 13:50:49 +00:00
|
|
|
node: osmocom-gerrit
|
2022-02-04 09:30:24 +00:00
|
|
|
concurrent: true
|
|
|
|
retry-count: 0 # scm checkout
|
|
|
|
properties:
|
|
|
|
- build-discarder:
|
|
|
|
days-to-keep: 30
|
2023-03-28 11:32:23 +00:00
|
|
|
num-to-keep: 120
|
2022-02-04 09:30:24 +00:00
|
|
|
description: |
|
|
|
|
Pending gerrit code reviews 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 12:52:54 +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 09:30:24 +00:00
|
|
|
- git:
|
|
|
|
basedir: 'linux'
|
2023-06-06 14:28:56 +00:00
|
|
|
url: '{repo}'
|
2022-02-04 09:30:24 +00:00
|
|
|
branches:
|
|
|
|
- '{linux-ver}'
|
|
|
|
refspec: '{linux-ver}'
|
|
|
|
shallow-clone: true
|
|
|
|
wipe-workspace: false
|
|
|
|
clean:
|
|
|
|
before: true
|
|
|
|
|
|
|
|
triggers:
|
|
|
|
- gerrit:
|
|
|
|
trigger-on:
|
|
|
|
- patchset-created-event:
|
|
|
|
exclude-drafts: true
|
|
|
|
exclude-no-code-change: true
|
|
|
|
projects:
|
|
|
|
- project-compare-type: 'PLAIN'
|
|
|
|
project-pattern: 'dahdi-linux'
|
|
|
|
branches:
|
|
|
|
- branch-compare-type: 'ANT'
|
|
|
|
branch-pattern: '**'
|
|
|
|
skip-vote:
|
|
|
|
successful: false
|
|
|
|
failed: false
|
|
|
|
unstable: false
|
|
|
|
notbuilt: false
|
|
|
|
silent: false
|
|
|
|
escape-quotes: false
|
|
|
|
server-name: gerrit.osmocom.org
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- shell: |
|
2022-11-10 12:52:54 +00:00
|
|
|
rm -rf dahdi-linux
|
|
|
|
git init dahdi-linux
|
|
|
|
cd dahdi-linux
|
|
|
|
git config advice.detachedHead false
|
|
|
|
git fetch \
|
|
|
|
--depth=1 \
|
|
|
|
https://gerrit.osmocom.org/dahdi-linux \
|
|
|
|
"$GERRIT_REFSPEC"
|
|
|
|
git checkout FETCH_HEAD
|
|
|
|
cd ..
|
|
|
|
|
2022-02-04 09:30:24 +00:00
|
|
|
docker run \
|
|
|
|
--rm=true \
|
|
|
|
-e "KSRC=/linux" \
|
|
|
|
-v "$PWD/dahdi-linux:/build" \
|
|
|
|
-v "$PWD/linux:/linux" \
|
2023-07-12 14:53:00 +00:00
|
|
|
"$USER/debian-bookworm-build" \
|
2022-02-04 09:30:24 +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
|
|
|
|
|
|
|
|
# vim: expandtab tabstop=2 shiftwidth=2
|