Commit f120f5d4 authored by Jan Kiene's avatar Jan Kiene
Browse files

add some printouts for debugging in the CI

parent e40af98b
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ API_URL_TMPL = "https://forge.3gpp.org/rep/api/v4/projects/{}/pipelines"


def get_job_id(branch_name, job_name, project_id):
    print(branch_name, job_name, project_id)
    job_id = -1
    # check last 500 pipelines max
    for page in range(100):
@@ -62,6 +63,7 @@ def get_job_id(branch_name, job_name, project_id):

                # find actual job by name
                for job in resp_jobs.json():
                    print(job["name"], job["status"])
                    if job["name"] == job_name and job["status"] == "success":
                        job_id = job["id"]
                        break