summaryrefslogtreecommitdiff
path: root/app/services/ci
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-08-12 13:57:58 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-08-12 13:57:58 +0200
commitea4ac578534d3a233c3525bf8351eb2045f6e632 (patch)
treed4c96a160a7281c3ea1492f38f2d2c2e123e57f1 /app/services/ci
parentd7b681512bb738b9b2ca0c56e761616a1a761295 (diff)
downloadgitlab-ce-ea4ac578534d3a233c3525bf8351eb2045f6e632.tar.gz
Use event `enqueue` instead of `queue`
Diffstat (limited to 'app/services/ci')
-rw-r--r--app/services/ci/process_pipeline_service.rb2
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 86c4823d18a..6f7610d42ba 100644
--- a/app/services/ci/process_pipeline_service.rb
+++ b/app/services/ci/process_pipeline_service.rb
@@ -37,7 +37,7 @@ module Ci
return false unless Statuseable::COMPLETED_STATUSES.include?(current_status)
if valid_statuses_for_when(build.when).include?(current_status)
- build.queue
+ build.enqueue
true
else
build.skip