Could anyone help me to find an approach to add attempts to restart
get resource step if it failed to download a resource?
We use as a resource git://git.postgresql.org/git/postgresql.git to trigger if they deploy a new release, but for downloading release file we use their ftp - https://ftp.postgresql.org/pub/source/v__version__/postgresql-version.tar.gz
What is a problem
Sometimes they created a new release faster than upload file to ftp, as a result, build failed because it can’t download a file and we need to restart it manually. So is there any possibility to catch this situation and say to try 10 times with interval 1 hour between tries?
for example, how it can be in Jenkins: