Loading ci_cd/problem3.yml +5 −5 Original line number Diff line number Diff line Loading @@ -92,19 +92,19 @@ register_player: artifacts: true script: - cd hw8_ec - # - # copy to the student directory # # copy to the student directory - mkdir -p Players/${GITLAB_USER_LOGIN}/include - mkdir -p Players/${GITLAB_USER_LOGIN}/impl - cp include/MyPlayer.h Players/${GITLAB_USER_LOGIN}/include - cp impl/MyPlayer.cpp Players/${GITLAB_USER_LOGIN}/impl/ - # - # upload to git repo # # upload to git repo - git add Players/${GITLAB_USER_LOGIN}/include/MyPlayer.h - git add Players/${GITLAB_USER_LOGIN}/impl/MyPlayer.cpp - git commit -m "Adding player ${GITLAB_USER_LOGIN}" - git push - # # - echo "Player registered for ${GITLAB_USER_LOGIN}" artifacts: paths: Loading Loading
ci_cd/problem3.yml +5 −5 Original line number Diff line number Diff line Loading @@ -92,19 +92,19 @@ register_player: artifacts: true script: - cd hw8_ec - # - # copy to the student directory # # copy to the student directory - mkdir -p Players/${GITLAB_USER_LOGIN}/include - mkdir -p Players/${GITLAB_USER_LOGIN}/impl - cp include/MyPlayer.h Players/${GITLAB_USER_LOGIN}/include - cp impl/MyPlayer.cpp Players/${GITLAB_USER_LOGIN}/impl/ - # - # upload to git repo # # upload to git repo - git add Players/${GITLAB_USER_LOGIN}/include/MyPlayer.h - git add Players/${GITLAB_USER_LOGIN}/impl/MyPlayer.cpp - git commit -m "Adding player ${GITLAB_USER_LOGIN}" - git push - # # - echo "Player registered for ${GITLAB_USER_LOGIN}" artifacts: paths: Loading