Clean working directory in satellite

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-05-05 14:21:00 +03:00
parent f09a1ef81d
commit cac916d974
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -84,6 +84,7 @@ module Gitlab
# Clear the working directory
def clear_working_dir!
repo.git.reset(hard: true)
repo.git.clean(f: true, d: true, x: true)
end
# Deletes all branches except the parking branch