Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-07-04 18:36:02 +0300
committerRémy Coutable <remy@rymai.me>2016-07-04 18:36:02 +0300
commit1a36493d134328fa5b9ac3d3a04e43e72bdf67bb (patch)
tree4026f45db87f44eb77fa587852c2853929265e03 /lib
parentf60b48bdcb4762451618fe03bca98581282a0904 (diff)
parent36a73929df7cb47a428fb04740ee81f497327edb (diff)
Merge branch 'save-artifacts_sizes' into 'master'
Save artifacts sizes ## What does this MR do? Introduce ci_builds.artifacts_size as an integer, so that it's easier to access than reading from the file again. ## What are the relevant issue numbers? Closes #18869 See merge request !4964
Diffstat (limited to 'lib')
-rw-r--r--lib/ci/api/builds.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ci/api/builds.rb b/lib/ci/api/builds.rb
index 9f270f7b387..260ac81f5fa 100644
--- a/lib/ci/api/builds.rb
+++ b/lib/ci/api/builds.rb
@@ -195,8 +195,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