jenkinsci / jenkinsci/gerrit-trigger-plugin

[JENKINS-73754] gerrit-trigger Deprecated usage of review command

Open
#994 4 comments 0 reactions 0 assignees View on GitHub
component:gerrit-trigger-plugin imported-jira-issue priority:minor resolution:unresolved
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


  • assignee: rsandell
  • status: Open
  • priority: Minor
  • component(s): gerrit-trigger-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 2025-12-07

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.