Increase wait timeout for bintray to 20 min

Closes gh-13947
pull/14019/merge
Madhura Bhave 6 years ago
parent a023bd030a
commit 26af0ca742

@ -46,9 +46,9 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
echo "Waiting for artifacts to be published"
ARTIFACTS_PUBLISHED=false
WAIT_TIME=5
WAIT_TIME=10
COUNTER=0
while [ $ARTIFACTS_PUBLISHED == "false" ] && [ $COUNTER -lt 60 ]; do
while [ $ARTIFACTS_PUBLISHED == "false" ] && [ $COUNTER -lt 120 ]; do
result=$( curl -s https://api.bintray.com/packages/"${BINTRAY_SUBJECT}"/"${BINTRAY_REPO}"/"${groupId}" )
versions=$( echo "$result" | jq -r '.versions' )
exists=$( echo "$versions" | grep "$version" -o || true )

Loading…
Cancel
Save