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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
6fe2a679
Commit
6fe2a679
authored
Oct 15, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CI YAML docs
parent
62377d17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+5
-4
No files found.
doc/ci/yaml/README.md
View file @
6fe2a679
...
@@ -200,9 +200,10 @@ The above specification will make sure that `job` is built by a runner that have
...
@@ -200,9 +200,10 @@ The above specification will make sure that `job` is built by a runner that have
### when
### when
`when`
is used to implement jobs that are run in case of failure or despite the failure.
`when`
is used to implement jobs that are run in case of failure or despite the failure.
The
`when`
can be set to one of the following values:
`when`
can be set to one of the following values:
1.
`on_success`
- execute build only when all builds from prior stages succeeded. This is default.
1.
`on_failure`
- execute build only when at least one of the build from prior stages failed.
1.
`on_success`
- execute build only when all builds from prior stages succeeded. This is the default.
1.
`on_failure`
- execute build only when at least one build from prior stages failed.
1.
`always`
- execute build despite the status of builds from prior stages.
1.
`always`
- execute build despite the status of builds from prior stages.
```
```
...
...
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