summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs
diff options
context:
space:
mode:
authorVictor Laza <vlaza@cloudbasesolutions.com>2015-04-29 14:34:49 +0300
committerVictor Laza <vlaza@cloudbasesolutions.com>2015-04-29 18:12:23 +0300
commit1ef68114ccca7ff08b888772601c0d877565f152 (patch)
treedfed393010a9874de1ce9c2d73203679dafd8bdc /jjb/opnfvdocs
parentfb331665c5b85f6ea3258fe4c9f3e287b25ed41b (diff)
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 <vlaza@cloudbasesolutions.com>
Diffstat (limited to 'jjb/opnfvdocs')
-rw-r--r--jjb/opnfvdocs/build-docu-verify.sh3
-rw-r--r--jjb/opnfvdocs/build-upload-docu.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/jjb/opnfvdocs/build-docu-verify.sh b/jjb/opnfvdocs/build-docu-verify.sh
index 061e46d22..a6a1596f8 100644
--- a/jjb/opnfvdocs/build-docu-verify.sh
+++ b/jjb/opnfvdocs/build-docu-verify.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+set -e
+set -o pipefail
+
project="opnfvdocs"
export PATH=$PATH:/usr/local/bin/
diff --git a/jjb/opnfvdocs/build-upload-docu.sh b/jjb/opnfvdocs/build-upload-docu.sh
index 561ccb177..7b4321a04 100644
--- a/jjb/opnfvdocs/build-upload-docu.sh
+++ b/jjb/opnfvdocs/build-upload-docu.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+set -e
+set -o pipefail
+
project="opnfvdocs"
export PATH=$PATH:/usr/local/bin/