Fix indicated points by PR
This commit is contained in:
parent
963ee68d8f
commit
8132f9b2fb
|
@ -4000,15 +4000,14 @@ cache(function(data, match, sendBadge, request) {
|
|||
sendBadge(format, badgeData);
|
||||
return;
|
||||
}
|
||||
console.log(badgeData.text[1]);
|
||||
try {
|
||||
badgeData.text[1] = res;
|
||||
badgeData.text[1] = res.toLowerCase();
|
||||
if (res === 'Passed') {
|
||||
badgeData.colorscheme = 'brightgreen';
|
||||
} else if (res === 'Failed') {
|
||||
badgeData.colorscheme = 'red';
|
||||
} else {
|
||||
badgeData.text[1] = res;
|
||||
badgeData.text[1] = res.toLowerCase();
|
||||
}
|
||||
sendBadge(format, badgeData);
|
||||
|
||||
|
|
4
try.html
4
try.html
|
@ -125,8 +125,8 @@ Pixel-perfect Retina-ready Fast Consistent Hackable
|
|||
<td><code>https://img.shields.io/shippable/54d119db5ab6cc13528ab183/master.svg</code></td>
|
||||
</tr>
|
||||
<tr><th> Snap CI branch: </th>
|
||||
<td><img src='/snap-ci/snap-ci/snap-deploy/master.svg' alt=''/></td>
|
||||
<td><code>https://img.shields.io/snap-ci/snap-ci/snap-deploy/master.svg</code></td>
|
||||
<td><img src='/snap-ci/ThoughtWorksStudios/eb_deployer/master.svg' alt=''/></td>
|
||||
<td><code>https://img.shields.io/snap-ci/ThoughtWorksStudios/eb_deployer/master.svg</code></td>
|
||||
</tr>
|
||||
<tr><th> Jenkins: </th>
|
||||
<td><img src='/jenkins/s/https/jenkins.qa.ubuntu.com/precise-desktop-amd64_default.svg' alt=''/></td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user