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>2018-05-25 13:43:27 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-05-25 13:43:27 +0300
commit887818d3cb58406555bc038ed36b75b7a4ce2631 (patch)
treef00113eb6148c287dbba868348efc1a4b03394e9 /app/models/ci
parent0e1b3dc41b61c8d9f6a1432c4f823253cbeb5c4d (diff)
Do not update stage status when it is just created
Diffstat (limited to 'app/models/ci')
-rw-r--r--app/models/ci/stage.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/ci/stage.rb b/app/models/ci/stage.rb
index 0044d1af106..abf73c00539 100644
--- a/app/models/ci/stage.rb
+++ b/app/models/ci/stage.rb
@@ -74,8 +74,7 @@ module Ci
when 'failed' then drop
when 'canceled' then cancel
when 'manual' then block
- when 'skipped' then skip
- else skip
+ when 'skipped', nil then skip
end
end
end