jobs/master…-dahdi: don't use multiple scms plugin

Related: OS#5763
Change-Id: If115116c0d6920c86a50dc43d57a8a925f6db064
This commit is contained in:
Oliver Smith 2022-11-10 14:09:12 +01:00
parent 28ace174fa
commit 27a9092b7c
1 changed files with 9 additions and 15 deletions

View File

@ -29,21 +29,9 @@
<b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b> <b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b>
scm: scm:
- git: # Let jenkins clone the big linux repository and keep it between builds
basedir: 'dahdi-linux' # (wipe-workspace is false). Clone dahdi-linux with code from gerrit in
url: 'https://gerrit.osmocom.org/dahdi-linux' # the shell part below.
credentials-id: d5eda5e9-b59d-44ba-88d2-43473cb6e42d
branches:
- 'origin/master'
# When the gerrit git repository is configured to wipe-workspace, the
# linux.git clone gets removed as well. Cloning the linux repo takes a
# long time, so only clean both repos, don't remove them.
wipe-workspace: false
clean:
before: true
skip-tag: true
submodule:
recursive: true
- git: - git:
basedir: 'linux' basedir: 'linux'
url: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' url: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
@ -60,6 +48,12 @@
builders: builders:
- shell: | - shell: |
rm -rf dahdi-linux
git clone \
--depth=1 \
https://gerrit.osmocom.org/dahdi-linux
git -C dahdi-linux log --oneline
docker run \ docker run \
--rm=true \ --rm=true \
-e "KSRC=/linux" \ -e "KSRC=/linux" \