Prefer Ci::Build#erase_artifacts!

This commit is contained in:
Lin Jen-Shin 2016-06-28 20:32:32 +08:00
parent 0a294698db
commit de54335958

View file

@ -196,8 +196,7 @@ module Ci
not_found! unless build
authenticate_build_token!(build)
build.remove_artifacts_file!
build.remove_artifacts_metadata!
build.erase_artifacts!
end
end
end