summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/htmlize/push-doc-artifact.sh
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-10-11 08:24:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-11 08:24:44 +0000
commit629d7018a9ee709d79afedcf0074a0a6a3c61d51 (patch)
treedc448d519bc09f2f79296e728c85075ebb72b72d /utils/test/testapi/htmlize/push-doc-artifact.sh
parent2ec02b9acd6bcdf251ef5ae1cb8a4a304aed1195 (diff)
parentf634b91b24b10901c9006ceb6ea9c39dab9ab11a (diff)
Merge "put htmlize directory under jjb/releng"
Diffstat (limited to 'utils/test/testapi/htmlize/push-doc-artifact.sh')
-rw-r--r--utils/test/testapi/htmlize/push-doc-artifact.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/utils/test/testapi/htmlize/push-doc-artifact.sh b/utils/test/testapi/htmlize/push-doc-artifact.sh
deleted file mode 100644
index 4cf1988b0..000000000
--- a/utils/test/testapi/htmlize/push-doc-artifact.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-set -e
-set -o pipefail
-
-export PATH=$PATH:/usr/local/bin/
-
-project=$PROJECT
-workspace=$WORKSPACE
-artifact_dir="$project/docs"
-
-set +e
-gsutil&>/dev/null
-if [ $? != 0 ]; then
- echo "Not possible to push results to artifact: gsutil not installed"
- exit 1
-else
- gsutil ls gs://artifacts.opnfv.org/"$project"/ &>/dev/null
- if [ $? != 0 ]; then
- echo "Not possible to push results to artifact: gsutil not installed."
- exit 1
- else
- echo "Uploading document to artifact $artifact_dir"
- gsutil cp "$workspace"/index.html gs://artifacts.opnfv.org/"$artifact_dir"/testapi.html >/dev/null 2>&1
- echo "Document can be found at http://artifacts.opnfv.org/releng/docs/testapi.html"
- fi
-fi