Commit a41d9e1a authored by Laurent Peuch's avatar Laurent Peuch
Browse files

fix(deprecated-warnings): only check successed pipelines

parent eaa842d88273
Pipeline #18834 passed with stages
in 4 minutes and 50 seconds
...@@ -118,7 +118,7 @@ for cube in get_all_cubes(): ...@@ -118,7 +118,7 @@ for cube in get_all_cubes():
print(cube.name) print(cube.name)
branch_default_pipeline = None branch_default_pipeline = None
for pipeline in cube.pipelines.list(as_list=False): for pipeline in cube.pipelines.list(as_list=False):
if pipeline.ref == "branch/default": if pipeline.ref == "branch/default" and pipeline.status == "success":
branch_default_pipeline = pipeline branch_default_pipeline = pipeline
break break
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment