Commit 446bb29c authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED gitlab runner path bug on Windows

parent 60022a4d
......@@ -6,9 +6,11 @@
# This is ok on Linux but since gitlab-runner 11.7 on windows all path variables use backward slash instead of forward slash
# → Replace all backslash to forward slash
export PROJECT_SOURCE_DIR=${PROJECT_SOURCE_DIR//\\//}
export CI_PROJECT_DIR=${CI_PROJECT_DIR//\\//}
echo "Job $CI_JOB_NAME"
echo "PROJECT_SOURCE_DIR=$PROJECT_SOURCE_DIR"
echo "CI_PROJECT_DIR=$CI_PROJECT_DIR"
if ! grep -q TRIGGER_STAGE_TEST "${PROJECT_LOG_DIR}/trigger-stage.txt"; then
echo "Job skipped as /test flag not in commit message and CAMITK_CI_STAGE < $STAGE_CONFIGURE";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment