My CI generates folders/files which make the next build fail (I get “warning: failed to remove …”) . I found out about the “pre_clean_script” and “pre_build_script” but i’m not able to get that to work and the old files/folders are not being deleted in the git repo after the fetch.
Here is what i have:
name = “compilecode”
url = “https://gitlab.xxx.com/”
token = “”
executor = “shell”
pre_clean_script = “cd $CI_PROJECT_DIR && git clean -ffdx”
I tried both pre-clone_script and pre_clone_build.
Any help please? and thank you