Commit 71f6b197 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

bug fix

parent 300f92e6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -58,8 +58,7 @@ extra_1b:
    - make extra1b
    - score="$(./extra1b | tail -n 1 | tr -d '[:space:]')"
    - echo "Your score is $score"
    - STUDENT="$(echo "$CI_PROJECT_PATH" | sed -E 's#.*/HomeworkZero##')"
    - curl "https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${STUDENT}&score=${score}"
    - curl "https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${GITLAB_USER_LOGIN}&score=${score}"
  rules:
    - if: '$INTERNAL_TESTS == "1"' # skip when doing internal tests
      when: never
@@ -80,7 +79,8 @@ more_integerp:
    - score="$(cat more1b.txt | tail -n 1 | tr -d '[:space:]')"
    - echo "$(cat more1b.txt)"
    - echo "Your score is $score"
    - curl "https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=hw0_more1b&name=${CI_COMMIT_AUTHOR}&score=${score}" # log the score for easy grading
    - STUDENT="$(echo "$CI_PROJECT_PATH" | sed -E 's#.*/HomeworkZero##')"
    - curl "https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=hw0_more1b&name=${STUDENT}&score=${score}" # log the score for easy grading
  rules:
    - if: '$CI_COMMIT_REF_NAME == "problem1b"'
  tags: [ c++-17 ]
 No newline at end of file