Loading ci_cd/problem3.yml +6 −2 Original line number Diff line number Diff line Loading @@ -189,7 +189,8 @@ compete_all_players: - | # Run the program and capture exit status set +e ./play > "${WHITE_PLAYER}-vs-${BLACK_PLAYER}.txt" mkdir results ./play > "results/${WHITE_PLAYER}-vs-${BLACK_PLAYER}.txt" status=$? set -e Loading @@ -208,3 +209,6 @@ compete_all_players: tags: [c++-17] rules: - if: '$CI_PIPELINE_SOURCE == "schedule"' artifacts: paths: - hw8_ec/results/ No newline at end of file Loading
ci_cd/problem3.yml +6 −2 Original line number Diff line number Diff line Loading @@ -189,7 +189,8 @@ compete_all_players: - | # Run the program and capture exit status set +e ./play > "${WHITE_PLAYER}-vs-${BLACK_PLAYER}.txt" mkdir results ./play > "results/${WHITE_PLAYER}-vs-${BLACK_PLAYER}.txt" status=$? set -e Loading @@ -208,3 +209,6 @@ compete_all_players: tags: [c++-17] rules: - if: '$CI_PIPELINE_SOURCE == "schedule"' artifacts: paths: - hw8_ec/results/ No newline at end of file