X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjenkins-verify-images.sh;h=e4e9e7080261d08ce505e9ffa1fcb3fe32a00747;hb=refs%2Fheads%2Fv0.48.x;hp=f05e3c35b0a2d30a2da1f3ff5dce3d46ef5ed076;hpb=e1a8dc64cfe10360ebdcadd28806adf800760ce7;p=releng%2Fglobal-jjb.git diff --git a/shell/jenkins-verify-images.sh b/shell/jenkins-verify-images.sh index f05e3c35..e4e9e708 100755 --- a/shell/jenkins-verify-images.sh +++ b/shell/jenkins-verify-images.sh @@ -44,7 +44,8 @@ for cloud in jenkins-config/clouds/openstack/*; do # Verify that we have a cloud config file if [ -f "$cloud/cloud.cfg" ]; then # Get the OS_CLOUD variable from cloud config and export it - OS_CLOUD=$(grep ^CLOUD_CREDENTIAL_ID= "$cloud/cloud.cfg" | cut -d'=' -f2) + os_cloud=$(grep ^OS_CLOUD= "$cloud/cloud.cfg" | cut -d'=' -f2) + OS_CLOUD="${os_cloud:-vex}" export OS_CLOUD verify_images "$cloud"