Page MenuHomeDevCentral

Add support for UTF-8 characters in JSON API reply
Closed, ResolvedPublic

Description

https://builds.nasqueron.org is currently down, as the Jenkins API returns a non JSON string.

Exception

Crack::ParseError at /
Invalid JSON string
file: json.rb location: rescue in parse line: 33

Stack trace

/usr/src/app/tommy.rb in block in <main>
  @projects = Project.parse_incoming_json(Crack::JSON.parse(json.get))
/usr/local/lib/ruby/2.1.0/webrick/httpserver.rb in service
      si.service(req, res)
/usr/local/lib/ruby/2.1.0/webrick/httpserver.rb in run
          server.service(req, res)
/usr/local/lib/ruby/2.1.0/webrick/server.rb in block in start_thread

Details

Differential Revisions
D482: Force environment in UTF-8

Event Timeline

dereckson created this task.Jul 10 2016, 16:09
dereckson renamed this task from Add support for Jenkins 2.0 folders to Add support for Jenkins 2.0.
dereckson updated the task description. (Show Details)
dereckson renamed this task from Add support for Jenkins 2.0 to Add support for UTF-8 characters in JSON API reply.Jul 10 2016, 23:48
dereckson claimed this task.
dereckson closed this task as Resolved.