Add status link also for running checks
Change-Id: Ia39061f0a75589e22e0ed584b49629903b633b93
diff --git a/gr-checks/gr-checks-reboot.js b/gr-checks/gr-checks-reboot.js
index 17f8ecd..1e7bdc2 100644
--- a/gr-checks/gr-checks-reboot.js
+++ b/gr-checks/gr-checks-reboot.js
@@ -123,6 +123,9 @@
if (check.finished) run.finishedTimestamp = new Date(check.finished);
if (status === 'RUNNING') {
run.statusDescription = check.message;
+ if (check.url) {
+ run.statusLink = check.url;
+ }
} else if (check.state === 'SUCCESSFUL') {
run.statusDescription =
check.message || `Passed (${computeDuration(check)})`;