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>2017-07-17 13:38:21 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-17 13:38:21 +0300
commit9bb7f19d15ac5412a1d4c816f4b3eebcb3c5a840 (patch)
treebd17b361c3b746ee887b33ec4dc2377974993605 /spec/factories/ci/builds.rb
parentc1918fb10b333593837c15bf4a6fa161ca502b4b (diff)
Make it possible to count a number of job retries
Diffstat (limited to 'spec/factories/ci/builds.rb')
-rw-r--r--spec/factories/ci/builds.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index a77f01ecb00..678cebe365b 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -84,6 +84,10 @@ FactoryGirl.define do
success
end
+ trait :retried do
+ retried true
+ end
+
trait :cancelable do
pending
end