Print response content in case we cannot upload artifact to bintray.
This commit is contained in:
parent
6bebdf89fc
commit
05be522ef4
|
@ -48,6 +48,7 @@ def upload(version, filepath, artefact):
|
||||||
rcode_family = rcode // 100
|
rcode_family = rcode // 100
|
||||||
if rcode_family not in (2, 3):
|
if rcode_family not in (2, 3):
|
||||||
print("ERROR: Fail to upload artefact")
|
print("ERROR: Fail to upload artefact")
|
||||||
|
print(r.text)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -83,6 +83,7 @@ then
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ls $BINTRAY_ARCHIVES_DIR
|
||||||
BINTRAY_ARCHIVES=$(find $BINTRAY_ARCHIVES_DIR -name "*_bintray_info.json" -type f)
|
BINTRAY_ARCHIVES=$(find $BINTRAY_ARCHIVES_DIR -name "*_bintray_info.json" -type f)
|
||||||
if [[ "x$BINTRAY_ARCHIVES" != "x" ]]
|
if [[ "x$BINTRAY_ARCHIVES" != "x" ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue