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
wrote:
> WHen I run /job//api/json?tree=builds[url], then I
Hacky solution:
curl -d 'script=println Jenkins.instance.getItem(jobName).builds.each{
println "${it.number}:${it.startTimeInMillis}:${it.duration}:${it.result}"
};' http://localhost:8080/scriptText
On Thursday, February 20, 2014 5:35:19 PM UTC-8, Christian Goetze wrote:
>
> WHen I run /job//ap
WHen I run /job//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