summaryrefslogtreecommitdiffstats
path: root/jjb/releng-macros.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/releng-macros.yaml')
-rw-r--r--jjb/releng-macros.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml
index 1c9c32109..8c1539c8b 100644
--- a/jjb/releng-macros.yaml
+++ b/jjb/releng-macros.yaml
@@ -305,16 +305,16 @@
#!/bin/bash
set -o errexit
set -o pipefail
+ export PATH=$PATH:/usr/local/bin/
- echo "Generating Artifacts API ..."
- virtualenv $WORKSPACE/releng_artifacts
+ virtualenv -p python2.7 $WORKSPACE/releng_artifacts
source $WORKSPACE/releng_artifacts/bin/activate
# install python packages
- easy_install -U setuptools
pip install google-api-python-client
# generate and upload index file
+ echo "Generating Artifacts API ..."
python $WORKSPACE/utils/opnfv-artifacts.py > index.json
gsutil cp index.json gs://artifacts.opnfv.org/index.json