diff options
author | Shinya Maeda <shinya@gitlab.com> | 2019-01-10 18:32:12 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2019-04-04 16:19:43 +0700 |
commit | 8e51439e809db6ff5ff86bd79cdf95af62821a1d (patch) | |
tree | 103c4a6602397f03c7d548eb298e02775c21db4b /lib | |
parent | 74ace2a445a44a13bd22c1907b8ec55b1772d403 (diff) | |
download | gitlab-ce-8e51439e809db6ff5ff86bd79cdf95af62821a1d.tar.gz |
Drop legacy artifacts usagedrop-usage-of-leagcy-artifacts
Legacy artifacts have been correctly migrated to new place -
ci_job_artifacts. Now it's time to remove the related code, but before
that we should ensure it doesn't break anything by using feature flag.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/data_builder/pipeline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/data_builder/pipeline.rb b/lib/gitlab/data_builder/pipeline.rb index 76c8b4ec5c2..fa06fb935f7 100644 --- a/lib/gitlab/data_builder/pipeline.rb +++ b/lib/gitlab/data_builder/pipeline.rb @@ -47,7 +47,7 @@ module Gitlab user: build.user.try(:hook_attrs), runner: build.runner && runner_hook_attrs(build.runner), artifacts_file: { - filename: build.artifacts_file.filename, + filename: build.artifacts_file&.filename, size: build.artifacts_size } } |