summaryrefslogtreecommitdiff
path: root/app/models/ci/build.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-17 12:58:26 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-17 12:58:26 +0200
commitd63673d6df703664aa95909c723df08449c573b5 (patch)
treed45572273e1b6634385016da09acd21b7308fed8 /app/models/ci/build.rb
parentfaee4763f7a166772bb40945f82da4b25a95e7d5 (diff)
downloadgitlab-ce-d63673d6df703664aa95909c723df08449c573b5.tar.gz
Make sure that artifacts_file is nullified after removing artifactsmake-sure-that-artifacts-file-is-saved
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r--app/models/ci/build.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index 764d8e4e136..d618c84e983 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -341,6 +341,7 @@ module Ci
def erase_artifacts!
remove_artifacts_file!
remove_artifacts_metadata!
+ save
end
def erase(opts = {})