Skip to content
Snippets Groups Projects
Commit 82ea8537 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

apertis-pkg-merge-upstream-to-downstreams: Don't print useless information...

apertis-pkg-merge-upstream-to-downstreams: Don't print useless information while canceling pipelines

Printing these values only creates noise in the log.

Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent 9c81cc47
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,6 @@ def cancel_branch_context_pipeline(project_id, branch, token, project_url):
try:
res = urllib.request.urlopen(get_id_req)
json_res = json.load(res)
print(json_res)
latest_job_id = json_res["id"]
except urllib.error.HTTPError as e:
print("ERROR:", e.read().decode())
......@@ -136,7 +135,6 @@ def cancel_branch_context_pipeline(project_id, branch, token, project_url):
print(f"Canceling useless pipeline on {branch}")
try:
res = urllib.request.urlopen(cancel_req).read().decode("utf-8")
print(res)
except urllib.error.HTTPError as e:
print("ERROR:", e.read().decode())
......
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