Commit b0bdb717 authored by kinuthia's avatar kinuthia
Browse files

add missing $

parent a44322cc
Loading
Loading
Loading
Loading
Loading
+1 −19
Original line number Diff line number Diff line
@@ -293,24 +293,6 @@ workflow:
    -    touch $MERGED_CSV_ARTIFACT_NAME
    - fi

    # Aggregate job logs
    - if [ $GET_LOGS -eq 1 ]; then

    - id_previous=$(python3 ci/get_id_of_last_job_occurence.py $CI_DEFAULT_BRANCH ivas-pytest-compare_ref-long-enc $CI_PROJECT_ID)
    - echo "Job ID from variables - ivas-pytest-compare_ref-long-enc, Job ID from script - $id_previous"
    - curl --request GET "https://forge.3gpp.org/rep/api/v4/projects/$CI_PROJECT_ID/jobs/$id_previous/artifacts" --output artifacts.zip
    - unzip artifacts.zip -d previous_artifacts
    # This wildcard thingy relies on only one csv file being present per job
    - ivas-pytest-compare_ref-long-enc_csv="previous_artifacts/mld--ivas-pytest-compare_ref-long-enc-$id_previous--sha-*.csv"
    - echo $ivas-pytest-compare_ref-long-enc_csv
    #- python3 ci/basop-pages/create_report_pages.py $PAGES_HTML_ARTIFACT_NAME $MERGED_CSV_ARTIFACT_NAME $CSV_ARTIFACT_NAME $file_previous $CI_JOB_ID $id_previous $CI_JOB_NAME
    - TODAY=$(date +'%Y-%m-%d')
    # create log if it doesn't exist
    - mkdir -p logs/$TODAY
    - mv ivas-pytest-compare_ref-long-enc_csv logs/$TODAY
    - ls
    - fi

    - if [ $zero_errors != 1 ]; then
    -     echo "Run errors encountered!"
    # TODO: temporary only to not fail MR pipelines on crashes
@@ -1708,7 +1690,7 @@ ivas-long-term-job-logs:
    - TODAY=$(date +'%Y-%m-%d')
    # create log if it doesn't exist
    - mkdir -p logs/$TODAY
    - mv ivas-pytest-compare_ref-long-enc_csv logs/$TODAY
    - mv $ivas-pytest-compare_ref-long-enc_csv logs/$TODAY
    - ls
    - fi
    - exit 0