summaryrefslogtreecommitdiffstats
path: root/jjb/vnfrqts/pre-build-needs.sh
blob: c27b550062357c83df5ab5fb86b18e88dba37f04 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

virtualenv -p python3.6 $WORKSPACE/venv-tox
source $WORKSPACE/venv-tox/bin/activate
pip install --upgrade pip
pip install -r etc/requirements.txt
ls
wget -O docs/data/needs.json "https://nexus.onap.org/content/sites/raw/org.onap.vnfrqts.requirements/master/needs.json" && echo "Copied newest needs." || exit 1
tox -e needs