X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjenkins-verify-images.sh;h=e4e9e7080261d08ce505e9ffa1fcb3fe32a00747;hb=07d9fbd1c27ec993a9be1621e372640f6ca55bb5;hp=f05e3c35b0a2d30a2da1f3ff5dce3d46ef5ed076;hpb=fe2beb15bc9effb5b91ba17b520ab6c167dd6604;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"