Skip to content
Snippets Groups Projects
Commit 2ccab074 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

CI: make sure the repo is cleaned

parent 1442dea2
Branches
Tags
No related merge requests found
...@@ -136,6 +136,7 @@ stages: ...@@ -136,6 +136,7 @@ stages:
stage: prepare stage: prepare
before_script: before_script:
# This override the previous before_script # This override the previous before_script
- git clean -ffxd
- set GIT_LFS_SKIP_SMUDGE=1 - set GIT_LFS_SKIP_SMUDGE=1
- git checkout %CI_COMMIT_REF_NAME% - git checkout %CI_COMMIT_REF_NAME%
- set GIT_LFS_SKIP_SMUDGE=0 - set GIT_LFS_SKIP_SMUDGE=0
...@@ -172,6 +173,7 @@ windows-8-prepare: ...@@ -172,6 +173,7 @@ windows-8-prepare:
.common-windows-build: .common-windows-build:
extends: .common-build extends: .common-build
before_script: before_script:
- git clean -ffxd
- git lfs fetch origin %CI_COMMIT_SHA% - git lfs fetch origin %CI_COMMIT_SHA%
- git checkout %CI_COMMIT_REF_NAME% - git checkout %CI_COMMIT_REF_NAME%
after_script: after_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment