jenkinsci / jenkinsci/gerrit-trigger-plugin

[JENKINS-20098] GitClient.getRepository deprecated and broken

Open
#645 7 comments 0 reactions 0 assignees View on GitHub
component:gerrit-trigger-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
226
Forks
289
PR merge metrics
No merged PRs in 30d

Description

When computing the changelog using GerritTriggerBuildChooser an UnsupportedOperationException is thrown

---
Originally reported by rsandell, imported from: GitClient.getRepository deprecated and broken


  • assignee: rsandell
  • status: Open
  • priority: Major
  • component(s): gerrit-trigger-plugin
  • resolution: Unresolved
  • votes: 3
  • watchers: 7
  • imported: 2025-12-06

Raw content of original issue

When computing the changelog using GerritTriggerBuildChooser an UnsupportedOperationException is thrown

Contributor guide

Open the contributing guide

Research direction

Start with GerritTriggerBuildChooser and the use of GitClient.getRepository while reproducing changelog computation. Trace the UnsupportedOperationException and determine the affected deprecated API path. Done means changelog computation completes without that exception and the behavior is covered by the relevant existing checks, if any.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.