diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-09 12:08:52 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-09 12:08:52 +0000 |
| commit | b90d8b54a4d623e52cf1d4318023e3b18d13dd5b (patch) | |
| tree | 19012dcd9dff32ef1c47182229bdabb6b078a7fc /app/services/ci/process_pipeline_service.rb | |
| parent | a989894b49e6c72648485a82c570647c17a3763f (diff) | |
| download | gitlab-ce-b90d8b54a4d623e52cf1d4318023e3b18d13dd5b.tar.gz | |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/ci/process_pipeline_service.rb')
| -rw-r--r-- | app/services/ci/process_pipeline_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/ci/process_pipeline_service.rb b/app/services/ci/process_pipeline_service.rb index 678b386fbbf..970652b4da3 100644 --- a/app/services/ci/process_pipeline_service.rb +++ b/app/services/ci/process_pipeline_service.rb @@ -30,6 +30,8 @@ module Ci # this updates only when there are data that needs to be updated, there are two groups with no retried flag # rubocop: disable CodeReuse/ActiveRecord def update_retried + return if Feature.enabled?(:ci_remove_update_retried_from_process_pipeline, pipeline.project, default_enabled: :yaml) + # find the latest builds for each name latest_statuses = pipeline.latest_statuses .group(:name) |
