projects
/
arvados-dev.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build a python-jsonschema package, because cwltool requires version 2.4
[arvados-dev.git]
/
jenkins
/
run-docker-tests.sh
diff --git
a/jenkins/run-docker-tests.sh
b/jenkins/run-docker-tests.sh
index 8587996b4326f74df8fb4dfebfbf65d22fafabdf..0b5148e39d324727b786423b22b40e61962f2e6b 100755
(executable)
--- a/
jenkins/run-docker-tests.sh
+++ b/
jenkins/run-docker-tests.sh
@@
-9,9
+9,14
@@
title () {
}
docker_push () {
}
docker_push () {
- $DOCKER push $*
-
- ECODE=$?
+ # Sometimes docker push fails; retry it a few times if necessary.
+ for i in `seq 1 5`; do
+ $DOCKER push $*
+ ECODE=$?
+ if [[ "$ECODE" == "0" ]]; then
+ break
+ fi
+ done
if [[ "$ECODE" != "0" ]]; then
title "!!!!!! docker push $* failed !!!!!!"
if [[ "$ECODE" != "0" ]]; then
title "!!!!!! docker push $* failed !!!!!!"