summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/htmlize/doc-build.sh
diff options
context:
space:
mode:
authorrohitsakala <rohitsakala@gmail.com>2017-01-21 15:43:35 +0530
committerRohit Sakala <rohitsakala@gmail.com>2017-01-21 14:32:31 +0000
commitc9ea476389a4a5d26840be8c96ce97c5d657ff46 (patch)
tree49e9870cadcae180de302b6be08ad901ce39997f /utils/test/testapi/htmlize/doc-build.sh
parent34338a12d9a8dd2ac9ddd2882efca18fc8fb33de (diff)
Remove start and finish builders from jenkins job
Removing those builders as it is unnecessary to start and finish server instead calling testresults.opnfv.org for specs. JIRA: FUNCTEST-705 Change-Id: Icfbce0c0eaf9d4ca20920de78450a1ffd580344c Signed-off-by: rohitsakala <rohitsakala@gmail.com>
Diffstat (limited to 'utils/test/testapi/htmlize/doc-build.sh')
-rw-r--r--utils/test/testapi/htmlize/doc-build.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/test/testapi/htmlize/doc-build.sh b/utils/test/testapi/htmlize/doc-build.sh
index 427b4378b..33560ceea 100644
--- a/utils/test/testapi/htmlize/doc-build.sh
+++ b/utils/test/testapi/htmlize/doc-build.sh
@@ -3,8 +3,18 @@
set -o errexit
# Create virtual environment
+virtualenv $WORKSPACE/testapi_venv
source $WORKSPACE/testapi_venv/bin/activate
+# Swgger Codegen Tool
+url="http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.1/swagger-codegen-cli-2.2.1.jar"
+
+# Check for jar file locally and in the repo
+if [ ! -f swagger-codegen-cli.jar ];
+then
+ wget http://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.1/swagger-codegen-cli-2.2.1.jar -O swagger-codegen-cli.jar
+fi
+
# Install Pre-requistics
pip install requests