Skip to content
Snippets Groups Projects
Verified Commit 35cfd77b authored by Nico's avatar Nico
Browse files

improve debug output

parent d0f1ae01
Branches
Tags
No related merge requests found
......@@ -56,6 +56,7 @@ def find_latest_pipeline_id(branch):
pipelines = pipelines_request.json()
for pipeline in pipelines:
logging.debug(f"Considering Pipeline ID: {pipeline['id']} status={pipeline['status']} ref={pipeline['ref']}")
if pipeline["status"] == "success" and pipeline["ref"].startswith(branch):
logging.debug("Found Pipeline ID: {}".format(pipeline["id"]))
return pipeline["id"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment