Jenkins 'green' means the build passed

Fixes #586.
This commit is contained in:
Thaddee Tyl 2015-12-29 22:46:50 +01:00
parent 8c88223b6e
commit c9999ca46c

View File

@ -3371,7 +3371,7 @@ cache(function(data, match, sendBadge, request) {
}
try {
if (json.color === 'blue') {
if (json.color === 'blue' || json.color === 'green') {
badgeData.colorscheme = 'brightgreen';
badgeData.text[1] = 'passing';
} else if (json.color === 'red') {