mirror of https://github.com/docker/docs.git
Fix Circle timeout due to no output
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
parent
00938bd954
commit
7b711beb67
|
@ -1,13 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Try several times to do the build (sometimes network or other issues causes
|
# Try several times to do the build (sometimes network or other issues causes
|
||||||
# it to fail)
|
# it to fail)
|
||||||
for i in $(seq 0 4); do
|
for i in $(seq 0 4); do
|
||||||
echo "Trying build $i..."
|
echo "Trying build $i..."
|
||||||
make clean
|
make clean
|
||||||
BUILD_EXIT_CODE=$(make)
|
make
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
cp dist/* $CIRCLE_ARTIFACTS
|
cp dist/* $CIRCLE_ARTIFACTS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue