--- a/src/Pure/Admin/jenkins.scala Sun Apr 30 23:11:51 2017 +0200
+++ b/src/Pure/Admin/jenkins.scala Sun Apr 30 23:41:08 2017 +0200
@@ -55,9 +55,10 @@
val Log_Session = new Regex("""^.*/log/([^/]+)\.gz$""")
for {
- build <- JSON.array(
- invoke(root() + "/job/" + job_name, "tree=builds[number,timestamp,artifacts[*]]"), "builds")
- .getOrElse(Nil)
+ build <-
+ JSON.array(
+ invoke(root() + "/job/" + job_name, "tree=allBuilds[number,timestamp,artifacts[*]]"),
+ "allBuilds").getOrElse(Nil)
number <- JSON.int(build, "number")
timestamp <- JSON.long(build, "timestamp")
} yield {