osmith submitted this change.

View Change

Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve pespin: Looks good to me, but someone else must approve osmith: Looks good to me, approved
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(-)

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" \

To view, visit change 30074. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: If115116c0d6920c86a50dc43d57a8a925f6db064
Gerrit-Change-Number: 30074
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged