Update Automation Job Repo to releng-testresults
[releng.git] / jjb / releng / htmlize / push-doc-artifact.sh
diff --git a/jjb/releng/htmlize/push-doc-artifact.sh b/jjb/releng/htmlize/push-doc-artifact.sh
deleted file mode 100644 (file)
index 4cf1988..0000000
+++ /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