diff options
| author | Menny Even Danan <menny@evendanan.net> | 2020-02-01 03:32:33 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2020-02-01 03:32:33 +0000 |
| commit | 7ec2db46f8e3c04daacc962d49dcbbadedd07efe (patch) | |
| tree | 5bfe95250c687e5a3c98892f91b36adb4fb5a8cd /scripts | |
| parent | 0ec526e3d6fc2696395950c5b3e29fef90fffd85 (diff) | |
| download | AnySoftKeyboard-7ec2db46f8e3c04daacc962d49dcbbadedd07efe.tar.gz AnySoftKeyboard-7ec2db46f8e3c04daacc962d49dcbbadedd07efe.tar.bz2 | |
jacoco fixes and wget retries
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ci/ci_deploy.sh | 5 | ||||
| -rwxr-xr-x | scripts/download_robolectric_jars_to_machine.sh | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/ci/ci_deploy.sh b/scripts/ci/ci_deploy.sh index 9d31c978a..3131f8b15 100755 --- a/scripts/ci/ci_deploy.sh +++ b/scripts/ci/ci_deploy.sh @@ -22,10 +22,11 @@ if [[ "${DEPLOY_TASKS}" == *"publish"* ]]; then exit 1 fi - wget ${KEYSTORE_FILE_URL} -q -O /tmp/anysoftkeyboard.keystore - wget ${PUBLISH_CERT_FILE_URL} -q -O /tmp/apk_upload_key.p12 + wget --tries=5 --waitretry=5 "${KEYSTORE_FILE_URL}" -q -O /tmp/anysoftkeyboard.keystore + wget --tries=5 --waitretry=5 "${PUBLISH_CERT_FILE_URL}" -q -O /tmp/apk_upload_key.p12 fi +# shellcheck disable=SC2086 ./gradlew --stacktrace -PwithAutoVersioning ${DEPLOY_TASKS} [[ -n "${GITHUB_ACTIONS}" ]] && chmod -R a+rwx . diff --git a/scripts/download_robolectric_jars_to_machine.sh b/scripts/download_robolectric_jars_to_machine.sh index 8623af965..349293701 100755 --- a/scripts/download_robolectric_jars_to_machine.sh +++ b/scripts/download_robolectric_jars_to_machine.sh @@ -27,5 +27,5 @@ for artifact in "${ARTIFACTS[@]}" do echo "downloading ${artifact}..." jar_name="android-all-${artifact}.jar" - wget --tries=2 --progress=dot:giga --output-document="${TARGET_FOLDER}/${jar_name}" "${DOWNLOAD_BASE_URL}/${artifact}/${jar_name}" + wget --tries=5 --waitretry=5 --progress=dot:giga --output-document="${TARGET_FOLDER}/${jar_name}" "${DOWNLOAD_BASE_URL}/${artifact}/${jar_name}" done |
