Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
63aa35cb
Commit
63aa35cb
authored
Oct 19, 2018
by
Markus Doits
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes to doc and remove on whitespace noise
parent
9818bb56
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+1
-1
lib/gitlab/ci/config/entry/job.rb
lib/gitlab/ci/config/entry/job.rb
+0
-2
No files found.
doc/ci/yaml/README.md
View file @
63aa35cb
...
@@ -1433,7 +1433,7 @@ job1:
...
@@ -1433,7 +1433,7 @@ job1:
## `retry`
## `retry`
> [Introduced][ce-12909] in GitLab 9.5.
> [Introduced][ce-12909] in GitLab 9.5.
> [Behaviour expanded][ce-21758] in GitLab 11.
4
to control on which failures to retry.
> [Behaviour expanded][ce-21758] in GitLab 11.
5
to control on which failures to retry.
`retry`
allows you to configure how many times a job is going to be retried in
`retry`
allows you to configure how many times a job is going to be retried in
case of a failure.
case of a failure.
...
...
lib/gitlab/ci/config/entry/job.rb
View file @
63aa35cb
...
@@ -28,12 +28,10 @@ module Gitlab
...
@@ -28,12 +28,10 @@ module Gitlab
validates
:allow_failure
,
boolean:
true
validates
:allow_failure
,
boolean:
true
validates
:parallel
,
numericality:
{
only_integer:
true
,
validates
:parallel
,
numericality:
{
only_integer:
true
,
greater_than_or_equal_to:
2
}
greater_than_or_equal_to:
2
}
validates
:when
,
validates
:when
,
inclusion:
{
in:
%w[on_success on_failure always manual delayed]
,
inclusion:
{
in:
%w[on_success on_failure always manual delayed]
,
message:
'should be on_success, on_failure, '
\
message:
'should be on_success, on_failure, '
\
'always, manual or delayed'
}
'always, manual or delayed'
}
validates
:dependencies
,
array_of_strings:
true
validates
:dependencies
,
array_of_strings:
true
validates
:extends
,
type:
String
validates
:extends
,
type:
String
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment