From 1ef68114ccca7ff08b888772601c0d877565f152 Mon Sep 17 00:00:00 2001 From: Victor Laza Date: Wed, 29 Apr 2015 14:34:49 +0300 Subject: Fail on exit status != 0 on every command in pipeline for build-docu scripts JIRA: DOCS-23 - Fail on exit status != 0 on every command in pipeline for all build-docu shell scripts used in Jenkins jobs. Change-Id: I324de186ca0530082ca7152156253b9a4346e865 Signed-off-by: Victor Laza --- jjb/functest/build-docu-verify.sh | 3 +++ jjb/functest/build-upload-docu.sh | 3 +++ 2 files changed, 6 insertions(+) (limited to 'jjb/functest') diff --git a/jjb/functest/build-docu-verify.sh b/jjb/functest/build-docu-verify.sh index e8f34a784..c692226dd 100644 --- a/jjb/functest/build-docu-verify.sh +++ b/jjb/functest/build-docu-verify.sh @@ -1,4 +1,7 @@ #!/bin/bash +set -e +set -o pipefail + project="functest" export PATH=$PATH:/usr/local/bin/ diff --git a/jjb/functest/build-upload-docu.sh b/jjb/functest/build-upload-docu.sh index f9da084b0..ee45d68a3 100644 --- a/jjb/functest/build-upload-docu.sh +++ b/jjb/functest/build-upload-docu.sh @@ -1,4 +1,7 @@ #!/bin/bash +set -e +set -o pipefail + project="functest" export PATH=$PATH:/usr/local/bin/ -- cgit 1.2.3-korg