diff options
author | Paco Guzman <pacoguzmanp@gmail.com> | 2016-07-28 08:09:40 +0300 |
---|---|---|
committer | Paco Guzman <pacoguzmanp@gmail.com> | 2016-07-29 15:08:41 +0300 |
commit | d05af7b7c6975ae66808ed6676a1b947c7abe244 (patch) | |
tree | b158cf69a40b7806691f877292eb5c94b6f2cae9 /app/views/projects/ci | |
parent | 41057b856eaf309ba6a80c03fa284dd07e2c73a3 (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.haml | 2 |
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 |