(build, test, skipNumber)
| 75 | |
| 76 | // Turn a build object into a link with information. |
| 77 | function buildToHtml(build, test, skipNumber) { |
| 78 | let started = tsToString(build.started); |
| 79 | return `<a href="${spyglassURLForBuild(build, test)}" target="_blank" rel="noopener">${skipNumber ? "" : build.number} ${started}</a>`; |
| 80 | } |
| 81 | |
| 82 | // Turn a job and array of build numbers into a list of build links. |
| 83 | function buildNumbersToHtml(job, buildNumbers, test) { |
no test coverage detected