Update sync-to-maven-central CI job

Closes gh-13296
pull/13710/head
Madhura Bhave 6 years ago
parent 673a08d228
commit d15ca6e0de

@ -371,9 +371,8 @@ jobs:
plan:
- get: spring-boot-ci-image
- get: git-repo
trigger: true
- get: artifactory-repo
trigger: false
trigger: true
passed: [promote-release]
params:
save_build_info: true

@ -49,7 +49,7 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
WAIT_TIME=5
COUNTER=0
while [ $ARTIFACTS_PUBLISHED == "false" ] && [ $COUNTER -lt 60 ]; do
result=$( curl https://api.bintray.com/packages/"${BINTRAY_SUBJECT}"/"${BINTRAY_REPO}"/"${groupId}" )
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 )
if [ "$exists" = "$version" ]; then

Loading…
Cancel
Save