summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-05 00:53:07 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-08-05 00:53:07 +0800
commit901536b36f3f5d95bd9ba33a2b99ef1c171c1133 (patch)
tree8f4835fd79d263a630c85b9c4a53d45eb7b0bcf5
parenta92dd5449524780c2a56e9627059b6c0e2362805 (diff)
downloadgitlab-ce-901536b36f3f5d95bd9ba33a2b99ef1c171c1133.tar.gz
No need to check that as in CreateCommitBuildsService:
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13581358
-rw-r--r--app/models/ci/pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 59ab8b5ce35..d6b75411022 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -231,7 +231,7 @@ module Ci
last_status = status
if update_state_from_commit_statuses
- execute_hooks if last_status != status && !skip_ci?
+ execute_hooks if last_status != status
true
else
false