From d15ca6e0de00fd21efa2e90e6f760a2d0376bfab Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Mon, 2 Jul 2018 13:57:34 -0700 Subject: [PATCH] Update sync-to-maven-central CI job Closes gh-13296 --- ci/pipeline.yml | 3 +-- ci/scripts/promote.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 60f0b2a787..37dc761cd8 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -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 diff --git a/ci/scripts/promote.sh b/ci/scripts/promote.sh index 8e350c7e77..2d9fdec1a3 100755 --- a/ci/scripts/promote.sh +++ b/ci/scripts/promote.sh @@ -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