osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ci/+/30071
)
Change subject: jobs/gerrit-lint: don't use multiple-scm plugin
......................................................................
jobs/gerrit-lint: don't use multiple-scm plugin
Clone osmo-ci.git in the shell script part to avoid using the no-longer
maintained multiple-scm plugin.
Related: OS#5763
Change-Id: I3e9bdfbbf00a234cd559bbf142432a788cfe8f75
---
M jobs/gerrit-lint.yml
1 file changed, 11 insertions(+), 9 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/71/30071/1
diff --git a/jobs/gerrit-lint.yml b/jobs/gerrit-lint.yml
index 819d17d..847096b 100644
--- a/jobs/gerrit-lint.yml
+++ b/jobs/gerrit-lint.yml
@@ -57,22 +57,24 @@
branches:
- $GERRIT_BRANCH
refspec: $GERRIT_REFSPEC
- name:
choosing-strategy: gerrit
wipe-workspace: false
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: 'cd code-from-gerrit && ../osmo-ci/lint/lint_diff.sh
HEAD~1'
+ - shell: |
+ 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
+
+ cd code-from-gerrit
+ ../osmo-ci/lint/lint_diff.sh HEAD~1
wrappers:
- ansicolor:
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/30071
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I3e9bdfbbf00a234cd559bbf142432a788cfe8f75
Gerrit-Change-Number: 30071
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange