Loading ci_cd/problem3.yml +3 −1 Original line number Diff line number Diff line Loading @@ -65,14 +65,16 @@ benchmark: set -e context="$(tail -n 10 extra3.out)" echo "$context" if [ "$STATUS" -eq 255 ]; then context="$(tail -n 10 extra3.out)" echo "Context: $context" echo "one of the sorts was wrong - job failed" exit 1 fi score="$(tail -n 1 extra3.out | tr -d '[:space:]')" - echo "$context" - curl "https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=hw3bench&name=${GITLAB_USER_LOGIN}&score=${score}" rules: - if: '$CI_COMMIT_REF_NAME == "problem3"' Loading Loading
ci_cd/problem3.yml +3 −1 Original line number Diff line number Diff line Loading @@ -65,14 +65,16 @@ benchmark: set -e context="$(tail -n 10 extra3.out)" echo "$context" if [ "$STATUS" -eq 255 ]; then context="$(tail -n 10 extra3.out)" echo "Context: $context" echo "one of the sorts was wrong - job failed" exit 1 fi score="$(tail -n 1 extra3.out | tr -d '[:space:]')" - echo "$context" - curl "https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=hw3bench&name=${GITLAB_USER_LOGIN}&score=${score}" rules: - if: '$CI_COMMIT_REF_NAME == "problem3"' Loading