-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
Currently, in order to find job information by job name, somebody would need to query REST API for all jobs and then find required job in list. This is expensive operation on Jenkins instances that has thousands of jobs - the returned list will be huge with a lot of information which is not relevant for required operation. Limiting data with "?tree=" option doesn't help much because it will still contain all jobs and their urls.
I've tried to use "Find job" AJAX call that is used by search box, but this search doesn't operate on job name, but operate on job display name.
Having a special REST call to retrieve job details by job name would be great to have, especially for large Jenkins instances.
Note: I am maintainer of Jenkinsapi python library (https://github.com/pycontribs/jenkinsapi)