drone-downstream icon indicating copy to clipboard operation
drone-downstream copied to clipboard

How to set retry time

Open TXZdream opened this issue 4 years ago • 2 comments

Issues

When I use downstream plugin for triggering build for deploy my service, several repos may trigger for the same time. Is there any way to set some env like RETRY_TIME used with timeout to make sure trigger will not fail, and trigger it one by one?

TXZdream avatar Feb 21 '21 12:02 TXZdream

There are attributes for wait: true and wait_timeout: 60s.

tboerger avatar Feb 22 '21 16:02 tboerger

But wait only wait for one time, but retry allows for several times, which will be better when many people commit at the same time.

TXZdream avatar Feb 25 '21 11:02 TXZdream