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:
authorShinya Maeda <shinya@gitlab.com>2018-04-06 09:01:52 +0300
committerShinya Maeda <shinya@gitlab.com>2018-04-06 09:01:52 +0300
commitb525b416c87f43fb046e7e445c0dbaeff8de6d25 (patch)
treec5ad192163171ea32094fcd41c6e948e0edd5dba /spec/factories/ci
parentddf74e513feec2c35ab7c65517c3d661a128c32c (diff)
parentb9c62c21c6e1dd06e8b68fff5cfa6b13aaf87ae9 (diff)
Merge branch 'master' into live-trace-v2
Diffstat (limited to 'spec/factories/ci')
-rw-r--r--spec/factories/ci/builds.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index 30235a3a876..fdacbe6c3f1 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -238,5 +238,10 @@ FactoryBot.define do
trait :protected do
protected true
end
+
+ trait :script_failure do
+ failed
+ failure_reason 1
+ end
end
end