aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/gerrit-binpkgs.yml
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-11-10 13:17:46 +0100
committerOliver Smith <osmith@sysmocom.de>2022-11-10 16:44:20 +0100
commit8763b1ed25b0f25fec4ee64c0cb52a2a5c7dafbf (patch)
treeb47c705dac935fbb5211f18f5affb397898f9449 /jobs/gerrit-binpkgs.yml
parent8453ebc0a4163c71297e0aee06c6a0d585f9944c (diff)
jobs/gerrit-binpkgs: don't use multiple-scm plugin
Change the default branch from origin/master to master, as the git clone command expects just the branch name without a remote name. Related: OS#5763 Change-Id: Ia5a17c6d25bf811a992ab495a2531ae613cb144f
Diffstat (limited to 'jobs/gerrit-binpkgs.yml')
-rw-r--r--jobs/gerrit-binpkgs.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/jobs/gerrit-binpkgs.yml b/jobs/gerrit-binpkgs.yml
index 5c72a41..8408950 100644
--- a/jobs/gerrit-binpkgs.yml
+++ b/jobs/gerrit-binpkgs.yml
@@ -33,7 +33,7 @@
name: BRANCH_CI
description: |
osmo-ci.git branch
- default: 'origin/master'
+ default: 'master'
- string:
name: GERRIT_REPO_URL
description: set by gerrit verification pipeline job
@@ -61,13 +61,6 @@
skip-tag: true
submodule:
recursive: false
- - git:
- basedir: 'osmo-ci'
- url: 'https://gerrit.osmocom.org/osmo-ci'
- credentials-id: d5eda5e9-b59d-44ba-88d2-43473cb6e42d
- branches:
- - '$BRANCH_CI'
- wipe-workspace: true
builders:
- shell: |-
@@ -80,6 +73,15 @@
exit 0
fi
+ # Clone osmo-ci.git
+ rm -rf osmo-ci
+ git clone \
+ --depth=1 \
+ --branch="$BRANCH_CI" \
+ https://gerrit.osmocom.org/osmo-ci \
+ osmo-ci
+ git -C osmo-ci log --oneline
+
# Get distro from type
case "{type}" in
deb) distro="debian:11" ;;