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 <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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to