Commit d0341bc3 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Mention manual actions section in when clause docs

parent fa8d3ac8
...@@ -485,7 +485,8 @@ failure. ...@@ -485,7 +485,8 @@ failure.
1. `on_failure` - execute build only when at least one build from prior stages 1. `on_failure` - execute build only when at least one build from prior stages
fails. fails.
1. `always` - execute build regardless of the status of builds from prior stages. 1. `always` - execute build regardless of the status of builds from prior stages.
1. `manual` - execute build manually. 1. `manual` - execute build manually (added in GitLab 8.10). Read about
[manual actions](#manual-actions) below.
For example: For example:
...@@ -528,9 +529,10 @@ cleanup_job: ...@@ -528,9 +529,10 @@ cleanup_job:
The above script will: The above script will:
1. Execute `cleanup_build_job` only when `build_job` fails 1. Execute `cleanup_build_job` only when `build_job` fails.
2. Always execute `cleanup_job` as the last step in pipeline 2. Always execute `cleanup_job` as the last step in pipeline regardless of
3. Allow you to manually execute `deploy_job` from GitLab success or failure.
3. Allow you to manually execute `deploy_job` from GitLab's UI.
#### Manual actions #### Manual actions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment