diff options
author | Ed Warnicke <eaw@cisco.com> | 2016-09-08 16:21:14 -0700 |
---|---|---|
committer | Ed Warnicke <eaw@cisco.com> | 2016-09-08 16:21:14 -0700 |
commit | 7a18d018cdfabdb285911aaf2770c3af8d10df32 (patch) | |
tree | 9b66a74358ccb9598e144642a51eb0a9fda4ec86 /jjb/vpp | |
parent | bd6c28286f29e2300d4c145ad0ec07d8846860d0 (diff) |
Fix shellcheck warnings
Change-Id: Iad0e627e28e899f41965606bed7025484db6a450
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'jjb/vpp')
-rw-r--r-- | jjb/vpp/include-raw-vpp-docs.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/jjb/vpp/include-raw-vpp-docs.sh b/jjb/vpp/include-raw-vpp-docs.sh index de83731ae..0619a8687 100644 --- a/jjb/vpp/include-raw-vpp-docs.sh +++ b/jjb/vpp/include-raw-vpp-docs.sh @@ -1,14 +1,14 @@ #!/bin/bash -set -e +set -xe -o pipefail [ "$DOCS_REPO_URL" ] || DOCS_REPO_URL="https://nexus.fd.io/content/sites/site/" [ "$PROJECT_PATH" ] || PROJECT_PATH=io/fd/vpp -[ "$DOCS_FILE" ] || DOC_FILE=vpp.docs.zip +[ "$DOC_FILE" ] || DOC_FILE=vpp.docs.zip [ "$DOC_DIR" ] || DOC_DIR=build-root/docs/html -if [ ${BRANCH} == "stable/1609" ]; then +if [ "${GERRIT_BRANCH}" == "stable/1609" ]; then VERSION=16.09 else echo "************************************" - echo "* ${BRANCH} does not publish docs *" + echo "* ${GERRIT_BRANCH} does not publish docs *" echo "************************************" exit fi @@ -49,7 +49,7 @@ cat pom.xml << EOF <serverId>opendaylight-log-archives</serverId> <repositoryUrl>$DOCS_REPO_URL/content-compressed</repositoryUrl> <file>${DOC_FILE}</file> - <repositoryPath>${PROJECT_PATH}</repositoryPath> + <repositoryPath>${PROJECT_PATH}/${VERSION}</repositoryPath> </configuration> </execution> </executions> @@ -58,6 +58,6 @@ cat pom.xml << EOF </build> </project> EOF -${MVN} deploy -gs $GLOBAL_SETTINGS_FILE -s $SETTINGS_FILE +${MVN} deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}" cd - |