jenkinsci / jenkinsci/gerrit-trigger-plugin
[JENKINS-73754] gerrit-trigger Deprecated usage of review command
- Dominant language
- Java
- Stars
- 226
- Forks
- 289
- PR merge metrics
- No merged PRs in 30d
Description
We're using the Gerrit Trigger plugin to run some test jobs when changes are submitted. The gerrit logs have a lot of messages like
```
[SSH gerrit review 145822,1 --message Build Successful [trimmed] --label verified=1 (maker)] WARN com.google.gerrit.sshd.commands.ReviewCommand : Deprecated usage of review command: missing project for change number 145822, patchset 1 [CONTEXT request="SSH"]
```
---
Originally reported by cpackham_atlnz, imported from: gerrit-trigger Deprecated usage of review command
rsandell
Raw content of original issue
We're using the Gerrit Trigger plugin to run some test jobs when changes are submitted. The gerrit logs have a lot of messages like
[SSH gerrit review 145822,1 --message Build Successful [trimmed] --label verified=1 (maker)] WARN com.google.gerrit.sshd.commands.ReviewCommand : Deprecated usage of review command: missing project for change number 145822, patchset 1 [CONTEXT request="SSH"]
Contributor guide
Research direction
No file or test is named. Start by tracing the Gerrit Trigger path that invokes the SSH `gerrit review` command shown in the report, then inspect how the project context is passed. Done means submitted-change jobs no longer produce the deprecated-usage warning, with coverage for the invocation if the repository has a suitable test location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100