Commit 12da0a75 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix float ref complexity number collection

parent 35ef2902
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -43,9 +43,8 @@
  - rm -rf $public_dir

  ### 1.5.part: get the corresponding measurement from ivas-float-update
  # only do this on main and not for the complexity meaurements run on ivas-float-update
  # only do this for ivas-basop
  - if [ "$CI_PROJECT_ID" == "$PROJECT_ID_BASOP" ]; then
  -   if [ "$CI_COMMIT_REF_NAME" == "main" ]; then
  -   job_id=$(python3 ci/get_id_of_last_job_occurence.py $FLOAT_REF_BRANCH $CI_JOB_NAME $CI_PROJECT_ID)
  -   echo $job_id
  -   curl --silent --show-error --request GET "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/$job_id/artifacts" --output artifacts_ref.zip
@@ -53,7 +52,6 @@
  # add file to arguments only if the artifact could be retrieved to prevent error later.
  -   if [ -f latest_WMOPS.csv ]; then GET_WMOPS_ARGS="$GET_WMOPS_ARGS latest_WMOPS.csv"; fi
  - fi
  - fi

 # prepare artifacts -> move to public directory
.complexity-measurements-prepare-artifacts: