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
diff options
context:
space:
mode:
authorPaco Guzman <pacoguzmanp@gmail.com>2016-07-28 08:09:40 +0300
committerPaco Guzman <pacoguzmanp@gmail.com>2016-07-29 15:08:41 +0300
commitd05af7b7c6975ae66808ed6676a1b947c7abe244 (patch)
treeb158cf69a40b7806691f877292eb5c94b6f2cae9 /app/views/projects/ci
parent41057b856eaf309ba6a80c03fa284dd07e2c73a3 (diff)
Check for Ci::Build artifacts at database level
Diffstat (limited to 'app/views/projects/ci')
-rw-r--r--app/views/projects/ci/pipelines/_pipeline.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/ci/pipelines/_pipeline.html.haml b/app/views/projects/ci/pipelines/_pipeline.html.haml
index 2f7d54f0bdd..558c35553da 100644
--- a/app/views/projects/ci/pipelines/_pipeline.html.haml
+++ b/app/views/projects/ci/pipelines/_pipeline.html.haml
@@ -57,7 +57,7 @@
%td.pipeline-actions
.controls.hidden-xs.pull-right
- - artifacts = pipeline.builds.latest.select { |b| b.artifacts? }
+ - artifacts = pipeline.builds.latest.with_artifacts_not_expired
- actions = pipeline.manual_actions
- if artifacts.present? || actions.any?
.btn-group.inline