summaryrefslogtreecommitdiff
path: root/icktool
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-29 22:06:54 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-29 22:45:46 +0100
commitbc1fea905ed3e56eb3683a64638943ec24a653f2 (patch)
tree136a5421f71d4ddc4eea0245fded2d4b1ad777cb /icktool
parent450b1747515e8955a3617d5c3618a50d96faa5d4 (diff)
downloadick2-bc1fea905ed3e56eb3683a64638943ec24a653f2.tar.gz
Fix: handle never-build pipelines in icktool status
Diffstat (limited to 'icktool')
-rwxr-xr-xicktool5
1 files changed, 5 insertions, 0 deletions
diff --git a/icktool b/icktool
index 0090b2b..8abac80 100755
--- a/icktool
+++ b/icktool
@@ -127,6 +127,11 @@ class Icktool(cliapp.Application):
for pipeline in pipelines:
build = self._get_latest_build(
project['project'], pipeline, builds)
+ if build is None:
+ build = {
+ 'build_id': 'never',
+ 'log': 'none',
+ }
status = self._get_pipeline_status(
project['project'], pipeline)
row = {