mirror of https://gerrit.osmocom.org/osmo-ci
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
This commit is contained in:
parent
e4a33ebda2
commit
8453ebc0a4
|
@ -57,22 +57,24 @@
|
||||||
branches:
|
branches:
|
||||||
- $GERRIT_BRANCH
|
- $GERRIT_BRANCH
|
||||||
refspec: $GERRIT_REFSPEC
|
refspec: $GERRIT_REFSPEC
|
||||||
name:
|
|
||||||
choosing-strategy: gerrit
|
choosing-strategy: gerrit
|
||||||
wipe-workspace: false
|
wipe-workspace: false
|
||||||
skip-tag: true
|
skip-tag: true
|
||||||
submodule:
|
submodule:
|
||||||
recursive: false
|
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:
|
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:
|
wrappers:
|
||||||
- ansicolor:
|
- ansicolor:
|
||||||
|
|
Loading…
Reference in New Issue