lib/routes/jobs/index.js
function multijob(req, res) {
  var type = req.accepts('html', 'json', 'plain');
  switch (type) {
  case 'json':
    return data(req, res);
  case 'plain':
    return output(req, res);
  default:
    return html(req, res);
  }
}
function multijob(req, res) {
  var type = req.accepts('html', 'json', 'plain');
  switch (type) {
  case 'json':
    return data(req, res);
  case 'plain':
    return output(req, res);
  default:
    return html(req, res);
  }
}
/*
GET /org/repo/[job/:job_id] - view latest build for repo

middleware.project set "project" and "accessLevel" on the req object.