summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2016-01-06 02:39:09 +0900
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-01-08 08:32:13 +0000
commit22ac4d45b5e7a391c424c322ffa963d252617659 (patch)
tree103e0001b62d8fb9a3bbf5d87af75caeeade281d
parente5cc5dd9b2225ed9ce30abc93c9088792b0927ac (diff)
add xtrace option to docs related scripts
Change-Id: Icdc5bd23e9a6603dac70736ff8f7cce1fd15ab3e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
-rw-r--r--jjb/releng-macros.yaml22
1 files changed, 17 insertions, 5 deletions
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml
index 5a1568e23..1f812f038 100644
--- a/jjb/releng-macros.yaml
+++ b/jjb/releng-macros.yaml
@@ -159,7 +159,9 @@
name: build-html-and-pdf-docs-output
builders:
- shell: |
- #!/bin/bash -e
+ #!/bin/bash
+ set -o errexit
+ set -o xtrace
export PATH=$PATH:/usr/local/bin/
git clone ssh://gerrit.opnfv.org:29418/releng
GERRIT_COMMENT=gerrit_comment.txt ./releng/utils/docs-build.sh
@@ -168,8 +170,10 @@
name: upload-under-review-docs-to-opnfv-artifacts
builders:
- shell: |
- #!/bin/bash -e
+ #!/bin/bash
+ set -o errexit
set -o pipefail
+ set -o xtrace
export PATH=$PATH:/usr/local/bin/
[[ $GERRIT_CHANGE_NUMBER =~ .+ ]]
@@ -204,8 +208,10 @@
name: upload-generated-docs-to-opnfv-artifacts
builders:
- shell: |
- #!/bin/bash -e
+ #!/bin/bash
+ set -o errexit
set -o pipefail
+ set -o xtrace
export PATH=$PATH:/usr/local/bin/
[[ -d docs_output ]] || exit 0
@@ -238,7 +244,10 @@
name: report-docs-build-result-to-gerrit
builders:
- shell: |
- #!/bin/bash -e
+ #!/bin/bash
+ set -o errexit
+ set -o pipefail
+ set -o xtrace
export PATH=$PATH:/usr/local/bin/
if [[ -e gerrit_comment.txt ]] ; then
echo
@@ -256,7 +265,10 @@
name: remove-old-docs-from-opnfv-artifacts
builders:
- shell: |
- #!/bin/bash -e
+ #!/bin/bash
+ set -o errexit
+ set -o pipefail
+ set -o xtrace
export PATH=$PATH:/usr/local/bin/
[[ $GERRIT_CHANGE_NUMBER =~ .+ ]]