mirror of https://gerrit.osmocom.org/osmo-ci
jobs/gerrit-lint: hardcode shell command
Don't allow overriding cmd per repository anymore. This was used in the gerrit-osmo-ci-lint job to run the linter from the checked out osmo-ci.git repository (the one with the untrusted code submitted to gerrit). This would become problematic with a future patch that will attach the ssh agent to the lint jobs (so jenkins can leave review comments over at gerrit). Change-Id: Iad23da08898205fafd1ae36256c8f7b6d7506d40
This commit is contained in:
parent
a1027bd25c
commit
719a62ec37
|
@ -5,7 +5,6 @@
|
|||
name: gerrit-lint
|
||||
# following default values can be overridden by each repo
|
||||
disabled: false
|
||||
cmd: '~/osmo-ci/lint/lint_diff.sh HEAD~1'
|
||||
gerrit_url: 'ssh://jenkins@gerrit.osmocom.org:29418'
|
||||
repos_url: '{gerrit_url}/{repos}'
|
||||
gerrit_project: '{repos}'
|
||||
|
@ -34,10 +33,7 @@
|
|||
- osmo-hnodeb
|
||||
- osmo-hnbgw
|
||||
- osmo-upf
|
||||
|
||||
- osmo-ci:
|
||||
# Run the lint script from the checked out branch
|
||||
cmd: 'lint/lint_diff.sh HEAD~1'
|
||||
- osmo-ci
|
||||
|
||||
- osmo_dia2gsup:
|
||||
repos_url: '{gerrit_url}/erlang/{repos}'
|
||||
|
@ -149,7 +145,7 @@
|
|||
server-name: gerrit.osmocom.org
|
||||
|
||||
builders:
|
||||
- shell: '{obj:cmd}'
|
||||
- shell: '~/osmo-ci/lint/lint_diff.sh HEAD~1'
|
||||
|
||||
wrappers:
|
||||
- ansicolor:
|
||||
|
|
Loading…
Reference in New Issue