
+ def set_job_summary(stats, job) + summary_result = '' + stats.keys.each do |stat| + if stat.match(/\.warning/i)
\.warning\. If there are more possibilities in your mind, please list the possible warning examples as comment.
+ job['summary.any_warning'] = 1 + summary_result = 'warning' + end + if stat.match(/stderr\./i)
\.stderr\.
+ job['summary.any_stderr'] = 1 + summary_result = 'stderr' + end + if stat.match(/error|\.exit_code/i)
ditto for exit_code Please list the possible error examples/cases as comment.
+ job['summary.any_error'] = 1 + summary_result = 'error' + end + if stat.match(/\.fail$/i) + job['summary.any_fail'] = 1 + summary_result = 'fail'
Thanks, Fengguang