jenkinsci / jenkinsci/java-client-api

Optimization: How to request build status without Intermediate calls

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

Description

Maybe i missed something but when monitoring a jenkins server, is there a way to get the build status by build number and jobid without first having to make an initial request for job instance from the server? so as to reduce the number of requests to the jenkins server?
I appreciate this can probably be done by calling methods directly on the http client, didnt know if there was a higher level functionality already, or whether it would be helpful to have this functionality?

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reviewing the existing client methods for retrieving job instances and build status, then inspect the Jenkins API calls involved. Define the higher-level lookup requested by build number and job ID, and verify with request-level tests that the intermediate call is avoided.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.