Commit d15ca6e0 authored by Madhura Bhave's avatar Madhura Bhave

Update sync-to-maven-central CI job

Closes gh-13296
parent 673a08d2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment