diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-06-28 15:32:32 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-06-28 15:32:32 +0300 |
commit | de543359580ffdd67113e36fba80b3e1bd2262c2 (patch) | |
tree | eb0a1399f62d06e0b1c1f5b3f1a14b76356d5b1f /lib/ci/api | |
parent | 0a294698db01112c407575e690a8a368be6b15f8 (diff) |
Prefer Ci::Build#erase_artifacts!
Diffstat (limited to 'lib/ci/api')
-rw-r--r-- | lib/ci/api/builds.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ci/api/builds.rb b/lib/ci/api/builds.rb index 7bfcc40a9f1..f6a8d907066 100644 --- a/lib/ci/api/builds.rb +++ b/lib/ci/api/builds.rb @@ -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 |