From: Ryota MIBU Date: Tue, 5 Jan 2016 17:39:09 +0000 (+0900) Subject: add xtrace option to docs related scripts X-Git-Tag: brahmaputra.1.0~292 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=22ac4d45b5e7a391c424c322ffa963d252617659;p=releng.git add xtrace option to docs related scripts Change-Id: Icdc5bd23e9a6603dac70736ff8f7cce1fd15ab3e Signed-off-by: Ryota MIBU --- 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 =~ .+ ]]