Skip to content

Commit

Permalink
Increase retry interval
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseyMartynov authored Oct 30, 2017
1 parent 17dc41b commit 64c0b4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drone-pr-workaround.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ fi

for i in {1..10}; do
if (( i > 1 )); then
echo "Retrying in 5 sec..."
sleep 5
echo "Will retry..."
sleep 15
fi

git fetch --no-tags origin +refs/pull/$DRONE_PULL_REQUEST/merge && git checkout -qf FETCH_HEAD && exit 0
Expand Down

0 comments on commit 64c0b4a

Please sign in to comment.