Merge "Fix upload-swift-artifacts with keystone v3"

This commit is contained in:
Jenkins
2016-08-12 06:06:50 +00:00
committed by Gerrit Code Review

View File

@@ -93,7 +93,7 @@ EOF_CAT
swift post "$CONTAINER_NAME"
SWIFT_ACCOUNT=$(swift stat "$CONTAINER_NAME" 2>/dev/null | grep Account: | sed -e "s|.*Account..||")
SWIFT_INTERNAL_URL=$(openstack endpoint show swift | grep internalurl | sed -e "s|.*\(http.*\)://\([^/]*\)/.*|\1://\2|")
SWIFT_INTERNAL_URL=$(openstack endpoint list | grep swift | grep internal | sed -e "s|.*\(http.*\)://\([^/]*\)/.*|\1://\2|")
# Does the Temp-URL-Key exist on this container?
# If not set it...