X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-stack.sh;fp=jjb%2Fopendaylight-infra-stack.sh;h=972ec210a087332af21927858ae2c7656396460a;hb=f1e9624085a061ada85c6fa5e53bc5bf11569da8;hp=af5d2fa13ed7e5bc1034242eb184af610d349717;hpb=d810f291425aa4b8774f689c07955561cae57b33;p=releng%2Fbuilder.git diff --git a/jjb/opendaylight-infra-stack.sh b/jjb/opendaylight-infra-stack.sh index af5d2fa13..972ec210a 100644 --- a/jjb/opendaylight-infra-stack.sh +++ b/jjb/opendaylight-infra-stack.sh @@ -18,7 +18,12 @@ pip install --upgrade "pip<10.0.0" setuptools 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"