Skip to content
Snippets Groups Projects
Commit 36247420 authored by Amir Mohammadi's avatar Amir Mohammadi
Browse files

fix trigger_pipeline.py

parent a850f682
No related branches found
No related tags found
1 merge request!35update install scripts to use our own channel
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment