From a486d332ad77fd35aca0ea144ab63039e9b249d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 13 Dec 2018 09:46:03 +0100 Subject: [PATCH] re-arrange columns for better redability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- src/template.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/template.js b/src/template.js index d304f3e..b2bcd90 100644 --- a/src/template.js +++ b/src/template.js @@ -1,12 +1,12 @@ module.exports = ` ### Jenkins Builds -| :grey_question: | Commit | When | Platform | Build | Duration | Result | +| :grey_question: | Commit | Build | Finished | Duration | Platform | Result | |-|-|-|-|-|-|-| {% for b in builds -%} {%- if b.success -%} -| :heavy_check_mark: | {{ b.commit }} | {{ b.meta.created | date }} | \`{{ b.platform }}\` | [#{{ b.id }}]({{ b.url }}) | {{ b.duration }} | [:package: {{ b.platform }}]({{ b.pkg_url }}) | +| :heavy_check_mark: | {{ b.commit }} | [#{{ b.id }}]({{ b.url }}) | {{ b.meta.created | date }} | {{ b.duration }} | \`{{ b.platform }}\` | [:package: package]({{ b.pkg_url }}) | {% else -%} -| :x: | {{ b.commit }} | {{ b.meta.created | date }} | \`{{ b.platform }}\` | [#{{ b.id }}]({{ b.url }}) | {{ b.duration }} | [:page_facing_up: build log]({{ b.pkg_url }}consoleText) | +| :x: | {{ b.commit }} | [#{{ b.id }}]({{ b.url }}) | {{ b.meta.created | date }} | {{ b.duration }} | \`{{ b.platform }}\` | [:page_facing_up: build log]({{ b.pkg_url }}consoleText) | {% endif -%} {%- endfor -%} `