Loading ci_cd/problem3.yml +3 −3 Original line number Diff line number Diff line Loading @@ -193,13 +193,13 @@ compete_all_players: status=$? set -e case "$status:$STUDENT_COLOR" in 1:White|2:Black) case "$status" in 1) echo "White wins!" curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${WHITE_PLAYER}&result=1" curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${BLACK_PLAYER}&result=0" ;; *) 2) echo "Black wins!!!" curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${WHITE_PLAYER}&result=0" curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${BLACK_PLAYER}&result=1" Loading Loading
ci_cd/problem3.yml +3 −3 Original line number Diff line number Diff line Loading @@ -193,13 +193,13 @@ compete_all_players: status=$? set -e case "$status:$STUDENT_COLOR" in 1:White|2:Black) case "$status" in 1) echo "White wins!" curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${WHITE_PLAYER}&result=1" curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${BLACK_PLAYER}&result=0" ;; *) 2) echo "Black wins!!!" curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${WHITE_PLAYER}&result=0" curl "https://agile.bu.edu/ec330_scripts/chessScores.pl?key=${MAGIC_KEY}&name=${BLACK_PLAYER}&result=1" Loading