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