src/Pure/Tools/ci_api.scala
changeset 64062 a7352cbde7d7
parent 64054 1fc9ab31720d
child 64082 d57c7295f601
     1.1 --- a/src/Pure/Tools/ci_api.scala	Wed Oct 05 22:09:53 2016 +0200
     1.2 +++ b/src/Pure/Tools/ci_api.scala	Thu Oct 06 11:13:12 2016 +0200
     1.3 @@ -44,12 +44,12 @@
     1.4      output: URL,
     1.5      session_logs: List[(String, URL)])
     1.6    {
     1.7 -    def read_output(): String = Url.read(output)
     1.8 +    def read_output(): Build_Log.Log_File = Build_Log.Log_File(job_name, Url.read(output))
     1.9      def read_log(name: String, full: Boolean): Build_Log.Session_Info =
    1.10      {
    1.11        val text =
    1.12          session_logs.collectFirst({ case (a, b) if a == name => Url.read_gzip(b) }) getOrElse ""
    1.13 -      Build_Log.parse_session_info(name, split_lines(text), full)
    1.14 +      Build_Log.Log_File(name, text).parse_session_info(name, full)
    1.15      }
    1.16    }
    1.17