code: function multiJobsResultCb(err, result) {
      if (!err) {
  
        var hasRed        = false;
        var hasYellow     = false;
        var hasNonSuccess = false;
        var hasSuccess    = false;
  
        var successColor;
        var nonSuccessColor;
  
        result.jobs.forEach(function (job) {
          if (job.color === 'red') {
            hasRed = true;
          }
          if (job.color === 'yellow') {
            hasYellow = true;
          }
          if (['red', 'yellow', 'blue', 'green'].indexOf(job.color) === -1) {
            hasNonSuccess   = true;
            nonSuccessColor = job.color;
          }
          if (job.color === 'blue' || job.color === 'green') {
            hasSuccess   = true;
            successColor = job.color;
          }
        });
  
        var resultColor;
        if (hasRed) {
          resultColor = 'red';
        } else if (hasYellow) {
          resultColor = 'yellow';
        } else if (hasNonSuccess) {
          resultColor = nonSuccessColor;
        } else {
          resultColor = successColor;
        }
  
        result = util.statusByColor(resultColor);
      }
      cb(err, result);
    }
docs: when there are multiple jobs, status is derived following these rules: - fail if any job has Jenkins color red - warn if any job has Jenkins color yellow but no red - non-success (e.g. notbuilt) if any job has Jenkins color status but no red and yellow - success only if all jobs are either blue or green