summaryrefslogtreecommitdiffstats
path: root/jjb/apex
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/apex')
-rw-r--r--jjb/apex/apex.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index 76586ffc5..9d63d4206 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -855,7 +855,11 @@
exit 1
fi
fi
- export PYTHONPATH=$PYTHONPATH:${WORKSPACE}/lib/python/apex
+ if [ -z "$PYTHONPATH" ]; then
+ export PYTHONPATH=${WORKSPACE}/lib/python/apex
+ else
+ export PYTHONPATH=$PYTHONPATH:${WORKSPACE}/lib/python/apex
+ fi
else
RPM_LIST=$RPM_INSTALL_PATH
for pkg in common undercloud opendaylight-sfc; do