osmo-ci/lint
Oliver Smith f560ce08ab jenkins-gerrit: fix ambiguous use of review api
Fix an error when the same Change-Id is used on multiple branches or in
theory projects. This is actually allowed by gerrit, and we use this
e.g. when backporting patches from master.

Use the project, change number (e.g. 30147) and patchset number (e.g. 2)
instead of the Change-Id.

Fix for:
  + ssh -p 29418 -l jenkins gerrit.osmocom.org gerrit review 4835a62cd88f0d69db76fb3bfd2df02176a91a6d --json
  fatal: "4835a62cd88f0d69db76fb3bfd2df02176a91a6d" matches multiple patch sets

Related: https://gerrit-review.googlesource.com/Documentation/cmd-review.html
Change-Id: I2d627f8f3b400fa57a50a228d47df2194f60fd08
2022-11-15 11:38:08 +00:00
..
checkpatch lint: enable FUNCTION_WITHOUT_ARGS 2022-11-04 13:24:10 +00:00
docker_run_rm.sh lint: catch missing --rm flag for 'docker run' 2022-02-11 15:44:16 +01:00
lint_all.sh lint: add helper scripts 2021-06-16 16:49:47 +02:00
lint_diff.sh jenkins-gerrit: fix ambiguous use of review api 2022-11-15 11:38:08 +00:00