From 362474209e428a1ec26f9394fe7c07661055739a Mon Sep 17 00:00:00 2001 From: Amir Mohammadi <183.amir@gmail.com> Date: Wed, 11 Jan 2017 13:33:15 +0100 Subject: [PATCH] fix trigger_pipeline.py --- nightlies/trigger_pipelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nightlies/trigger_pipelines.py b/nightlies/trigger_pipelines.py index aa86195..d2439da 100755 --- a/nightlies/trigger_pipelines.py +++ b/nightlies/trigger_pipelines.py @@ -122,7 +122,7 @@ def main(packages_list): last_pipeline['id'], package)) time.sleep(30) last_pipeline = gitlab.get_pipeline(pid, last_pipeline['id']) - if not last_pipeline['status'] == 'passed': + if not last_pipeline['status'] == 'success': print('Pipeline {} for project {} failed. Exiting ...'.format( last_pipeline['id'], package)) return -- GitLab