mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-07 01:06:01 +08:00
jenkins: always clean old git repos on checkout (#34625)
* force * test * cleanup
This commit is contained in:
@@ -97,7 +97,7 @@ unsafe_checkout() {( set -e
|
||||
git fetch --no-tags --no-recurse-submodules -j8 --verbose --depth 1 origin $GIT_COMMIT
|
||||
git checkout --force --no-recurse-submodules $GIT_COMMIT
|
||||
git reset --hard $GIT_COMMIT
|
||||
git clean -df
|
||||
git clean -dff
|
||||
git submodule sync
|
||||
git submodule foreach --recursive "git reset --hard && git clean -df"
|
||||
git submodule update --init --recursive
|
||||
|
||||
Reference in New Issue
Block a user