summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest.yml
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-08-27 10:51:52 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2015-08-27 10:51:52 +0200
commitccfa7ebd0675a7025fe98ffe757135460c429175 (patch)
tree4ceaf0606890e1697d8f1e86815a64d856198ddb /jjb/functest/functest.yml
parentad277acf70007c4e7723514d7be407b5f97b0077 (diff)
Revert "remove sourcing of opnfv-openrc.rc in releng script"
This reverts commit dae21e80b2a8a9b8201abd2aeaa082be970eb6ca.
Diffstat (limited to 'jjb/functest/functest.yml')
-rw-r--r--jjb/functest/functest.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml
index 7ea794a12..bf824b642 100644
--- a/jjb/functest/functest.yml
+++ b/jjb/functest/functest.yml
@@ -70,6 +70,12 @@
echo "Functest: prepare Functest environment"
mkdir -p $HOME/functest/
+ # source openstack vars
+ if [[ ! -f $HOME/opnfv-openrc.sh ]]; then
+ echo "Unable to access file $HOME/opnfv-openrc.sh"
+ exit 1
+ fi
+ source $HOME/opnfv-openrc.sh
# WORKSPACE is the root of the functest repo
# go into WORKSPACE where the functest repo is cloned
@@ -130,6 +136,12 @@
echo "Functest: prepare Functest environment"
mkdir -p $HOME/functest/
+ # source openstack vars
+ if [[ ! -f $HOME/opnfv-openrc.sh ]]; then
+ echo "Unable to access file $HOME/opnfv-openrc.sh"
+ exit 1
+ fi
+ source $HOME/opnfv-openrc.sh
# WORKSPACE is the root of the functest repo
# go into WORKSPACE where the functest repo is cloned
@@ -564,6 +576,7 @@
echo "Functest: prepare Functest environment"
mkdir -p $HOME/functest/
+ source $HOME/functest/opnfv-openrc.sh
# WORKSPACE is the root of the functest repo
# go into WORKSPACE where the functest repo is cloned