summaryrefslogtreecommitdiffstats
path: root/jjb/vvp/pre-build-csv.sh
diff options
context:
space:
mode:
authorHagop Bozawglanian <hagop.bozawglanian@att.com>2019-02-28 19:09:30 +0000
committerHagop Bozawglanian <hagop.bozawglanian@att.com>2019-02-28 19:15:20 +0000
commit03129589d4d4f67e74f44e54b97171b2539f1835 (patch)
treeae2430057757d2c805ab3f2e8e6507b30f306869 /jjb/vvp/pre-build-csv.sh
parenta5e416620da9b4b766d3f0fca3ee9932dc28c725 (diff)
VNFRQTS - Update job to upload artifacts
Update the post script to curl raw artifacts based on the number passed in to work for VNFRQTS and VVP. Change-Id: Iefd4e0e5069c2917952072dbf5e26433495fd25f Issue-ID: VNFRQTS-539 Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
Diffstat (limited to 'jjb/vvp/pre-build-csv.sh')
-rw-r--r--jjb/vvp/pre-build-csv.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/jjb/vvp/pre-build-csv.sh b/jjb/vvp/pre-build-csv.sh
new file mode 100644
index 000000000..b90f77b86
--- /dev/null
+++ b/jjb/vvp/pre-build-csv.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+virtualenv -p python3 $WORKSPACE/venv-tox
+source $WORKSPACE/venv-tox/bin/activate
+pip3 install --upgrade pip
+pip3 install --no-use-pep517 -r requirements.txt
+ls
+wget -O $WORKSPACE/ice_validator/heat_requirements.json "https://nexus.onap.org/content/sites/raw/org.onap.vnfrqts.requirements/master/needs.json"
+echo "Copied newest needs."
+cd ice_validator/
+pytest --self-test tests/ \ No newline at end of file