jenkinsci / jenkinsci/java-client-api

Bug: Artifact.getClient() returns null

Open
#337 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
913
Forks
466
PR merge metrics
No merged PRs in 30d

Description

I have a setup where I traverse the whole way from a JenkinsServer to an Artifact (via Job & Build) and all model elements except the Artifact return a proper value for getClient() - the Artifact returns always .

Contributor guide

Open the contributing guide

Research direction

Start by tracing getClient() from JenkinsServer through Job and Build to Artifact, then reproduce the reported traversal and compare the Artifact result with the other model elements. Confirm what client value is expected on Artifact and add coverage for the traversal; done means Artifact.getClient() no longer returns null in that setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.