Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-24 12:34:01 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-24 12:34:01 +0300
commit865de49b0832dc1e2fa74034a25d186980b6a361 (patch)
tree3315349cadf5fc0d069188b4b487b14fbfea987f /app/models/commit_status.rb
parent8657d5dd8af6c365b41d7c2997e6e5c9e18e8241 (diff)
Update related stage status when job status is changed
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r--app/models/commit_status.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb
index d7418a07177..842c6e5cb50 100644
--- a/app/models/commit_status.rb
+++ b/app/models/commit_status.rb
@@ -91,6 +91,7 @@ class CommitStatus < ActiveRecord::Base
end
end
+ StageUpdateWorker.perform_async(commit_status.stage_id)
ExpireJobCacheWorker.perform_async(commit_status.id)
end
end