diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-05 00:53:07 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-05 00:53:07 +0800 |
commit | 901536b36f3f5d95bd9ba33a2b99ef1c171c1133 (patch) | |
tree | 8f4835fd79d263a630c85b9c4a53d45eb7b0bcf5 | |
parent | a92dd5449524780c2a56e9627059b6c0e2362805 (diff) | |
download | gitlab-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.rb | 2 |
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 |