diff options
author | Rémy Coutable <remy@rymai.me> | 2019-01-07 10:36:53 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-01-07 10:36:53 +0000 |
commit | 25d98e9d819c83d4bfe2b70b85e8d08b5ceb4dd7 (patch) | |
tree | 7363cd956aec7e11545206cec387bc771962ed47 /scripts | |
parent | 465b3041e71f2e454d9e7d6c154455f5ece14f38 (diff) | |
parent | 38a10e387021024e35d1985aebe3d50591d9a6c9 (diff) | |
download | gitlab-ce-25d98e9d819c83d4bfe2b70b85e8d08b5ceb4dd7.tar.gz |
Merge branch 'exit-error-if-job-waited-fails' into 'master'
Exit `wait_for_job_to_be_done` as error if the job fails
See merge request gitlab-org/gitlab-ce!23997
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/review_apps/review-apps.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/review_apps/review-apps.sh b/scripts/review_apps/review-apps.sh index 9e52366f800..118a7c7f638 100755 --- a/scripts/review_apps/review-apps.sh +++ b/scripts/review_apps/review-apps.sh @@ -344,6 +344,7 @@ function wait_for_job_to_be_done() { if [[ "${job_status}" == "failed" ]]; then echo "The '${job_name}' failed." + exit 1 elif [[ "${job_status}" == "manual" ]]; then echo "The '${job_name}' is manual." else |