From 27a9092b7c9f956e550d80f96e4efc759d212bc6 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 10 Nov 2022 14:09:12 +0100 Subject: [PATCH] =?UTF-8?q?jobs/master=E2=80=A6-dahdi:=20don't=20use=20mul?= =?UTF-8?q?tiple=20scms=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related: OS#5763 Change-Id: If115116c0d6920c86a50dc43d57a8a925f6db064 --- jobs/master-builds-dahdi.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/jobs/master-builds-dahdi.yml b/jobs/master-builds-dahdi.yml index a4044870..e7c85b71 100644 --- a/jobs/master-builds-dahdi.yml +++ b/jobs/master-builds-dahdi.yml @@ -29,21 +29,9 @@ Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY! scm: - - git: - basedir: 'dahdi-linux' - url: 'https://gerrit.osmocom.org/dahdi-linux' - 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 + # 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. - git: basedir: 'linux' url: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' @@ -60,6 +48,12 @@ builders: - shell: | + rm -rf dahdi-linux + git clone \ + --depth=1 \ + https://gerrit.osmocom.org/dahdi-linux + git -C dahdi-linux log --oneline + docker run \ --rm=true \ -e "KSRC=/linux" \