tree=builds will only retrieve the newest 100 builds since 1.485. Use tree=allBuilds to get everything. It's hidden by default and only shows up with depth=3 or higher (when querying a job).
On 21.02.2014, at 02:35, Christian Goetze <[email protected]> wrote: > WHen I run <url>/job/<jobname>/api/json?tree=builds[url], then I get a list > of some builds, but not all the builds I can retrieve via the UI? What's the > magic to get all builds? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
