File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 49
49
if [[ ! $CODEGEN_VERSION =~ ^.*SNAPSHOT$ ]];
50
50
then
51
51
# check release version exists
52
- export CODEGEN_FOUND_JSON=`curl -s --max-time 60 --retry 15 --connect-timeout 20 https://search.maven.org /solrsearch/select?q=g:io.swagger.codegen.v3%20AND%20a:swagger-codegen%20AND%20v:${CODEGEN_VERSION}%20AND%20p:jar`
52
+ export CODEGEN_FOUND_JSON=`curl -s --max-time 60 --retry 15 --connect-timeout 20 https://central.sonatype.com /solrsearch/select?q=g:io.swagger.codegen.v3%20AND%20a:swagger-codegen%20AND%20v:${CODEGEN_VERSION}%20AND%20p:jar`
53
53
export CODEGEN_FOUND=`echo ${CODEGEN_FOUND_JSON} | jq '.response.numFound'`
54
54
echo "CODEGEN_FOUND" ${CODEGEN_FOUND}
55
55
if [[ $CODEGEN_FOUND == '0' ]];
Original file line number Diff line number Diff line change 52
52
if [[ ! $CODEGEN_VERSION =~ ^.*SNAPSHOT$ ]];
53
53
then
54
54
# check release version exists
55
- export CODEGEN_FOUND_JSON=`curl -s --max-time 60 --retry 15 --connect-timeout 20 https://search.maven.org /solrsearch/select?q=g:io.swagger.codegen.v3%20AND%20a:swagger-codegen%20AND%20v:${CODEGEN_VERSION}%20AND%20p:jar`
55
+ export CODEGEN_FOUND_JSON=`curl -s --max-time 60 --retry 15 --connect-timeout 20 https://central.sonatype.com /solrsearch/select?q=g:io.swagger.codegen.v3%20AND%20a:swagger-codegen%20AND%20v:${CODEGEN_VERSION}%20AND%20p:jar`
56
56
export CODEGEN_FOUND=`echo ${CODEGEN_FOUND_JSON} | jq '.response.numFound'`
57
57
echo "CODEGEN_FOUND" ${CODEGEN_FOUND}
58
58
if [[ $CODEGEN_FOUND == '0' ]];
You can’t perform that action at this time.
0 commit comments