Skip to content

Commit

Permalink
Correcting API documentation of builds vs. allBuilds (#10112)
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick authored Jan 3, 2025
1 parent 89f48c5 commit d3e8908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/resources/hudson/model/Job/_api.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ THE SOFTWARE.
<h2>Retrieving all builds</h2>
<p>
To prevent Jenkins from having to load all builds from disk when someone accesses the job API, the <code>builds</code>
tree only contains the 50 newest builds. If you really need to get all builds, access the <code>allBuilds</code> tree,
tree only contains the 100 newest builds. If you really need to get all builds, access the <code>allBuilds</code> tree,
e.g. by fetching <code>…/api/xml?tree=allBuilds[…]</code>. Note that this may result in significant performance degradation
if you have a lot of builds in this job.
</p>
Expand Down

0 comments on commit d3e8908

Please sign in to comment.