From 865de49b0832dc1e2fa74034a25d186980b6a361 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Mon, 24 Jul 2017 11:34:01 +0200 Subject: Update related stage status when job status is changed --- app/models/commit_status.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/models/commit_status.rb') 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 -- cgit v1.2.1