Skip to content
Snippets Groups Projects
Commit ea3dbc24 authored by Max Lou's avatar Max Lou
Browse files

Fix: pass api_url to analytics engine

parent 496c5beb
No related branches found
No related tags found
No related merge requests found
Pipeline #912366 passed
Pipeline: FIRST_START

#912374

    ...@@ -44,7 +44,7 @@ def run_analysis(repo_url, job_id, result_token, analytics_token): ...@@ -44,7 +44,7 @@ def run_analysis(repo_url, job_id, result_token, analytics_token):
    append_job_log(result_token, job_id, "main.py doesn't exist", False) append_job_log(result_token, job_id, "main.py doesn't exist", False)
    return f"Job with id {job_id} failed. main.py doesn't exist" return f"Job with id {job_id} failed. main.py doesn't exist"
    cmd = f"python3 {directory}/main.py {analytics_token}" cmd = f"python3 {directory}/main.py {analytics_token} {RIGHTS_ENGINE_BACKEND}"
    p = Popen( p = Popen(
    cmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True cmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True
    ) )
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment