diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-09-27 13:52:15 +0900 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2018-10-02 17:08:12 +0200 |
commit | ddb313aebf2c499264b32567d3509f152c242d7a (patch) | |
tree | 63a0b07a4e5c03c54ab30ed6ea6fd0de6960bcf1 /app/services | |
parent | 6d712148c9595c4c87247757100ca80198cdd889 (diff) | |
download | gitlab-ce-ddb313aebf2c499264b32567d3509f152c242d7a.tar.gz |
Remove Scheduled Status class from pipeline
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/ci/process_pipeline_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/process_pipeline_service.rb b/app/services/ci/process_pipeline_service.rb index 1d1e39232fe..5e8a3976cc0 100644 --- a/app/services/ci/process_pipeline_service.rb +++ b/app/services/ci/process_pipeline_service.rb @@ -24,7 +24,7 @@ module Ci def process_stage(index) current_status = status_for_prior_stages(index) - return if HasStatus::BLOCKED_STATUS == current_status + return if HasStatus::BLOCKED_STATUS.include?(current_status) if HasStatus::COMPLETED_STATUSES.include?(current_status) created_builds_in_stage(index).select do |build| |