X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-stack.sh;h=972ec210a087332af21927858ae2c7656396460a;hb=ddbf3cde9195f2b3635318fed187269504853ab1;hp=b3afb0481f55f737e338a0c78e8dba94b989a7c9;hpb=05b62134d563b259e477c3e7f146168abd8399be;p=releng%2Fbuilder.git diff --git a/jjb/opendaylight-infra-stack.sh b/jjb/opendaylight-infra-stack.sh index b3afb0481..972ec210a 100644 --- a/jjb/opendaylight-infra-stack.sh +++ b/jjb/opendaylight-infra-stack.sh @@ -12,12 +12,18 @@ virtualenv "/tmp/v/openstack" # shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 source "/tmp/v/openstack/bin/activate" -pip install --upgrade pip -pip install --upgrade python-openstackclient python-heatclient -pip install --upgrade pipdeptree -pipdeptree +pip install --upgrade "pip<10.0.0" setuptools +# hardcoding cmd2 version as the most recent version seems to be broken. +# reference: https://pypi.org/project/cmd2/#history +pip install --upgrade cmd2==0.8.5 python-openstackclient python-heatclient +pip freeze -cd /builder/openstack-hot || exit 1 +# TODO: Remove the if-statement once we have fully migrated to /opt/ciman +if [ -d "/opt/ciman" ]; then + cd /opt/ciman || exit 1 +else + cd /builder/openstack-hot || exit 1 +fi JOB_SUM=$(echo "$JOB_NAME" | sum | awk '{{ print $1 }}') VM_NAME="$JOB_SUM-$BUILD_NUMBER"