diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-11-29 22:06:54 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-11-29 22:45:46 +0100 |
commit | bc1fea905ed3e56eb3683a64638943ec24a653f2 (patch) | |
tree | 136a5421f71d4ddc4eea0245fded2d4b1ad777cb /icktool | |
parent | 450b1747515e8955a3617d5c3618a50d96faa5d4 (diff) | |
download | ick2-bc1fea905ed3e56eb3683a64638943ec24a653f2.tar.gz |
Fix: handle never-build pipelines in icktool status
Diffstat (limited to 'icktool')
-rwxr-xr-x | icktool | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 = { |