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:
authorMarkus Doits <markus.doits@stellenticket.de>2018-10-19 17:54:29 +0300
committerMarkus Doits <markus.doits@stellenticket.de>2018-11-07 15:05:13 +0300
commit63aa35cb206d265faeebfaf2cc71156c69077ce8 (patch)
tree2252200f45351d53bc0482b4e80efe2ba6d0cce1 /lib/gitlab/ci
parent9818bb561889579ed1031e90b7879ec1c3f0e25a (diff)
small fixes to doc and remove on whitespace noise
Diffstat (limited to 'lib/gitlab/ci')
-rw-r--r--lib/gitlab/ci/config/entry/job.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab/ci/config/entry/job.rb b/lib/gitlab/ci/config/entry/job.rb
index 6907fad8e8a..8e8c979f973 100644
--- a/lib/gitlab/ci/config/entry/job.rb
+++ b/lib/gitlab/ci/config/entry/job.rb
@@ -28,12 +28,10 @@ module Gitlab
validates :allow_failure, boolean: true
validates :parallel, numericality: { only_integer: true,
greater_than_or_equal_to: 2 }
-
validates :when,
inclusion: { in: %w[on_success on_failure always manual delayed],
message: 'should be on_success, on_failure, ' \
'always, manual or delayed' }
-
validates :dependencies, array_of_strings: true
validates :extends, type: String
end