Commit 92482bb9 authored by GitLab Bot's avatar GitLab Bot

Add latest changes from gitlab-org/gitlab@master

parent 614bf811
...@@ -279,7 +279,7 @@ storing the exit code in a variable: ...@@ -279,7 +279,7 @@ storing the exit code in a variable:
```yaml ```yaml
job: job:
script: script:
- false && true; exit_code=$? - false || exit_code=$?
- if [ $exit_code -ne 0 ]; then echo "Previous command failed"; fi; - if [ $exit_code -ne 0 ]; then echo "Previous command failed"; fi;
``` ```
......
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