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