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:
authorKamil Trzciński <ayufan@ayufan.eu>2019-06-05 14:09:51 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2019-06-05 14:09:51 +0300
commite58e24b4d4256a42c0c7e764227f3c3c53fdb1bd (patch)
treefda5238ab4372c55f442730231af772f767cf1a2 /app/models
parentd9a761ed14ab5025626dee17faf1528c1264a1b0 (diff)
Revert "Merge branch..."
This reverts merge request !27503
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index aaa326afea5..89cc082d0bc 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -343,7 +343,7 @@ module Ci
end
def retryable?
- !archived? && (success? || failed?)
+ !archived? && (success? || failed? || canceled?)
end
def retries_count