osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/30074 )
Change subject: jobs/master…-dahdi: don't use multiple scms plugin ......................................................................
jobs/master…-dahdi: don't use multiple scms plugin
Related: OS#5763 Change-Id: If115116c0d6920c86a50dc43d57a8a925f6db064 --- M jobs/master-builds-dahdi.yml 1 file changed, 9 insertions(+), 15 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/74/30074/1
diff --git a/jobs/master-builds-dahdi.yml b/jobs/master-builds-dahdi.yml index a404487..e7c85b7 100644 --- a/jobs/master-builds-dahdi.yml +++ b/jobs/master-builds-dahdi.yml @@ -29,21 +29,9 @@ <b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b>
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" \