Commit fb443aa3 authored by Madhura Bhave's avatar Madhura Bhave

Merge branch '2.0.x'

parents 149c7a85 d15ca6e0
...@@ -419,9 +419,8 @@ jobs: ...@@ -419,9 +419,8 @@ jobs:
plan: plan:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- get: git-repo - get: git-repo
trigger: true
- get: artifactory-repo - get: artifactory-repo
trigger: false trigger: true
passed: [promote-release] passed: [promote-release]
params: params:
save_build_info: true save_build_info: true
......
...@@ -49,7 +49,7 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then ...@@ -49,7 +49,7 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
WAIT_TIME=5 WAIT_TIME=5
COUNTER=0 COUNTER=0
while [ $ARTIFACTS_PUBLISHED == "false" ] && [ $COUNTER -lt 60 ]; do 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' ) versions=$( echo "$result" | jq -r '.versions' )
exists=$( echo "$versions" | grep "$version" -o || true ) exists=$( echo "$versions" | grep "$version" -o || true )
if [ "$exists" = "$version" ]; then 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