diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-03 14:51:23 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-06 12:04:04 +0300 |
commit | dd2409119183578b12148654899e8e29c6105572 (patch) | |
tree | 980ed2434b784e3da7c981e5d3c19a4701f3a56d /app/models/commit_status.rb | |
parent | d1b59476df4cbc84830bdf617d915c066fcb0f60 (diff) |
Add support for blocking actions to CI/CD pipeline
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r-- | app/models/commit_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index 3ef07ffd0da..9cdabf24677 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -86,7 +86,7 @@ class CommitStatus < ActiveRecord::Base commit_status.run_after_commit do pipeline.try do |pipeline| - if complete? + if complete? || blocked? PipelineProcessWorker.perform_async(pipeline.id) else PipelineUpdateWorker.perform_async(pipeline.id) |