Loading .gitlab-ci.yml +9 −9 Original line number Diff line number Diff line Loading @@ -282,15 +282,15 @@ stages: # This wildcard thingy relies on only one csv file being present per job - file_previous="previous_artifacts/mld--$CI_JOB_NAME-$id_previous--sha-*.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 # Store MLD file for history in report-history branch - git clone -b $REPORT_HISTORY_BRANCH https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch report-history - cp $CSV_ARTIFACT_NAME $HISTORY_ARTIFACT_NAME - cp -r $HISTORY_ARTIFACT_NAME report-history - cd report-history - git add $HISTORY_ARTIFACT_NAME - git commit -m "Added $HISTORY_ARTIFACT_NAME" - git push - cd .. # Store MLD file for history in report-history branch. Safeguard with "|| true" to ensure this section does not stop the job. - git clone -b $REPORT_HISTORY_BRANCH https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch report-history || true - cp $CSV_ARTIFACT_NAME $HISTORY_ARTIFACT_NAME || true - cp -r $HISTORY_ARTIFACT_NAME report-history || true - cd report-history || true - git add $HISTORY_ARTIFACT_NAME || true - git commit -m "Added $HISTORY_ARTIFACT_NAME" || true - git push || true - cd .. || true - else # create empty file for artifacts to avoid errors - touch $PAGES_HTML_ARTIFACT_NAME Loading Loading
.gitlab-ci.yml +9 −9 Original line number Diff line number Diff line Loading @@ -282,15 +282,15 @@ stages: # This wildcard thingy relies on only one csv file being present per job - file_previous="previous_artifacts/mld--$CI_JOB_NAME-$id_previous--sha-*.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 # Store MLD file for history in report-history branch - git clone -b $REPORT_HISTORY_BRANCH https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch report-history - cp $CSV_ARTIFACT_NAME $HISTORY_ARTIFACT_NAME - cp -r $HISTORY_ARTIFACT_NAME report-history - cd report-history - git add $HISTORY_ARTIFACT_NAME - git commit -m "Added $HISTORY_ARTIFACT_NAME" - git push - cd .. # Store MLD file for history in report-history branch. Safeguard with "|| true" to ensure this section does not stop the job. - git clone -b $REPORT_HISTORY_BRANCH https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch report-history || true - cp $CSV_ARTIFACT_NAME $HISTORY_ARTIFACT_NAME || true - cp -r $HISTORY_ARTIFACT_NAME report-history || true - cd report-history || true - git add $HISTORY_ARTIFACT_NAME || true - git commit -m "Added $HISTORY_ARTIFACT_NAME" || true - git push || true - cd .. || true - else # create empty file for artifacts to avoid errors - touch $PAGES_HTML_ARTIFACT_NAME Loading