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
312e4e42
Commit
312e4e42
authored
May 26, 2020
by
Hordur Freyr Yngvason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify when rules:allow_failure is applied
parent
d0064ea8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+5
-1
No files found.
doc/ci/yaml/README.md
View file @
312e4e42
...
@@ -1038,6 +1038,10 @@ You can use [`allow_failure: true`](#allow_failure) within `rules:` to allow a j
...
@@ -1038,6 +1038,10 @@ You can use [`allow_failure: true`](#allow_failure) within `rules:` to allow a j
wait for action, without stopping the pipeline itself. All jobs using
`rules:`
default to
`allow_failure: false`
wait for action, without stopping the pipeline itself. All jobs using
`rules:`
default to
`allow_failure: false`
if
`allow_failure:`
is not defined.
if
`allow_failure:`
is not defined.
The rule-level
`rules:allow_failure`
option overrides the job-level
[
`allow_failure`
](
#allow_failure
)
option, and is only applied when the job is
triggered by the particular rule.
```
yaml
```
yaml
job
:
job
:
script
:
"
echo
Hello,
Rules!"
script
:
"
echo
Hello,
Rules!"
...
@@ -3478,7 +3482,7 @@ If `GIT_FETCH_EXTRA_FLAGS` is:
...
@@ -3478,7 +3482,7 @@ If `GIT_FETCH_EXTRA_FLAGS` is:
-
Not specified,
`git fetch`
flags default to
`--prune --quiet`
along with the default flags.
-
Not specified,
`git fetch`
flags default to
`--prune --quiet`
along with the default flags.
-
Given the value
`none`
,
`git fetch`
is executed only with the default flags.
-
Given the value
`none`
,
`git fetch`
is executed only with the default flags.
For example, the default flags are
`--prune --quiet`
, so you can make
`git fetch`
more verbose by overriding this with just
`--prune`
:
For example, the default flags are
`--prune --quiet`
, so you can make
`git fetch`
more verbose by overriding this with just
`--prune`
:
```
yaml
```
yaml
...
...
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