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

put hack at correct place

parent 842b3257
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1205,6 +1205,10 @@ voip-be-on-merge-request:

  - job_id=$(python3 ci/get_id_of_last_job_occurence.py $CI_COMMIT_REF_NAME $CI_JOB_NAME $CI_PROJECT_ID)
  - echo $job_id
  # TODO: remove. This is a hack to try out if the complexity history can be brought back.
  # hack: explicitly set the id of the last succesful job which has all the artifacts
  # this will only work for stereo, but just to try out if things work at all...
  - job_id=368633
  - curl --request GET "https://forge.3gpp.org/rep/api/v4/projects/$CI_PROJECT_ID/jobs/$job_id/artifacts" --output artifacts.zip
  - unzip artifacts.zip || true # this may fail on first run, when there are no artifacts there and the zip file is actually just "404"-html
  - ls
@@ -1218,10 +1222,6 @@ voip-be-on-merge-request:
  ### 1.5.part: get the corresponding measurement from ivas-float-update
  - job_id=$(python3 ci/get_id_of_last_job_occurence.py ivas-float-update $CI_JOB_NAME $CI_PROJECT_ID)
  - echo $job_id
  # TODO: remove. This is a hack to try out if the complexity history can be brought back.
  # hack: explicitly set the id of the last succesful job which has all the artifacts
  # this will only work for stereo, but just to try out if things work at all...
  - job_id=368633
  - curl --request GET "https://forge.3gpp.org/rep/api/v4/projects/$CI_PROJECT_ID/jobs/$job_id/artifacts" --output artifacts_ref.zip
  - unzip -j artifacts_ref.zip "*latest_WMOPS.csv" || true
  # add file to arguments only if the artifact could be retrieved to prevent error later.