message: Fix possible dual status success/failure
diff: @@ -67,6 +67,7 @@ q_report_success:
  - echo "Can only run if all the quartz jobs passed"
  - rundir="gitlab/$(date +%Y-%m-%d)-github-${CI_COMMIT_REF_SLUG}"
  - cd ${AUTOTEST_ROOT}/autotest && git pull
  + - ([[ -d "${rundir}" ]] && git rm -r ${rundir})
  - mkdir -p ${rundir}
  - echo "The Quartz jobs were successful" > ${rundir}/gitlab.out
  - git add ${rundir}
  @@ -82,6 +83,7 @@ q_report_failure:
  - echo "Runs if there was at least one failure on quartz"
  - rundir="gitlab/$(date +%Y-%m-%d)-github-${CI_COMMIT_REF_SLUG}"
  - cd ${AUTOTEST_ROOT}/autotest && git pull
  + - ([[ -d "${rundir}" ]] && git rm -r ${rundir})
  - mkdir -p ${rundir}
  - echo "There was an error while running CI on Quartz" > ${rundir}/gitlab.err
  - cp ${rundir}/gitlab.err ${rundir}/autotest-email.html
  @@ -148,6 +150,7 @@ update_autotest:
  script:
  - rundir="quartz/$(date +%Y-%m-%d)-github-${CI_COMMIT_REF_SLUG}"
  - cd ${AUTOTEST_ROOT}/autotest && git pull
  + - ([[ -d "${rundir}" ]] && git rm -r ${rundir})
  - mkdir -p ${rundir}
  - cp ${CI_PROJECT_DIR}/${ARTIFACTS_DIR}/* ${rundir}
  # We create an autotest-email.html file, because that's how we signal that there was a diff (temporary).
  