Loading ci_cd/problem1b.yml +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ extra_1b: - make extra1b - score="$(./extra1b | tail -n 1 | tr -d '[:space:]')" - echo "Your score is $score" - curl -s https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${GITLAB_USER_NAME}&score=${score} - curl https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${GITLAB_USER_NAME}&score=${score} rules: - if: '$CI_COMMIT_REF_NAME == "problem1b"' tags: [ c++-17 ] No newline at end of file ci_cd/problem1c.yml +3 −3 Original line number Diff line number Diff line Loading @@ -60,9 +60,9 @@ extra_1c: - cp IntegerP.cpp RationalP.cpp hw0_ec/ - cd hw0_ec - make extra1c - | score="$(./extra1c | tail -n 1 | tr -d '[:space:]')" curl -s https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1c&name=${GITLAB_USER_NAME}&score=${score} - score="$(./extra1c | tail -n 1 | tr -d '[:space:]')" - echo "Your score is $score" - curl https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1c&name=${GITLAB_USER_NAME}&score=${score} rules: - if: '$CI_COMMIT_REF_NAME == "problem1c"' tags: [c++-17] No newline at end of file Loading
ci_cd/problem1b.yml +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ extra_1b: - make extra1b - score="$(./extra1b | tail -n 1 | tr -d '[:space:]')" - echo "Your score is $score" - curl -s https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${GITLAB_USER_NAME}&score=${score} - curl https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${GITLAB_USER_NAME}&score=${score} rules: - if: '$CI_COMMIT_REF_NAME == "problem1b"' tags: [ c++-17 ] No newline at end of file
ci_cd/problem1c.yml +3 −3 Original line number Diff line number Diff line Loading @@ -60,9 +60,9 @@ extra_1c: - cp IntegerP.cpp RationalP.cpp hw0_ec/ - cd hw0_ec - make extra1c - | score="$(./extra1c | tail -n 1 | tr -d '[:space:]')" curl -s https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1c&name=${GITLAB_USER_NAME}&score=${score} - score="$(./extra1c | tail -n 1 | tr -d '[:space:]')" - echo "Your score is $score" - curl https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1c&name=${GITLAB_USER_NAME}&score=${score} rules: - if: '$CI_COMMIT_REF_NAME == "problem1c"' tags: [c++-17] No newline at end of file