[FLINK-4261][tools] retry in case of failed snapshot deployment
[FLINK-4261][tools] retry in case of failed snapshot deployment

Unfortunately, we can't deploy snapshots atomically using the Nexus
repository. The staged process which leads to an atomic deployment is
only designed to work for releases. Best we can do is to retry
deploying artifacts in case of failures.

- introduce retry in case of failure of snapshot deployment
- simplify deployment script

This closes #2296

tillrohrmann/flink,hequn8128/flink,fanyon/flink,kl0u/flink,godfreyhe/flink,kaibozhou/flink,rmetzger/flink,fhueske/flink,aljoscha/flink,twalthr/flink,gustavoanatoly/flink,tony810430/flink,zimmermatt/flink,jinglining/flink,apache/flink,haohui/flink,mtunique/flink,fhueske/flink,twalthr/flink,fanyon/flink,zentol/flink,xccui/flink,zhangminglei/flink,GJL/flink,bowenli86/flink,kaibozhou/flink,fanzhidongyzby/flink,shaoxuan-wang/flink,fhueske/flink,rmetzger/flink,gustavoanatoly/flink,greghogan/flink,ueshin/apache-flink,gyfora/flink,fanzhidongyzby/flink,PangZhi/flink,jinglining/flink,apache/flink,zjureel/flink,greghogan/flink,rmetzger/flink,StephanEwen/incubator-flink,rmetzger/flink,shaoxuan-wang/flink,aljoscha/flink,twalthr/flink,gustavoanatoly/flink,hequn8128/flink,ueshin/apache-flink,tony810430/flink,zjureel/flink,yew1eb/flink,rmetzger/flink,zimmermatt/flink,gyfora/flink,wwjiang007/flink,greghogan/flink,StephanEwen/incubator-flink,bowenli86/flink,PangZhi/flink,darionyaphet/flink,mylog00/flink,hwstreaming/flink,zimmermatt/flink,Xpray/flink,DieBauer/flink,shaoxuan-wang/flink,mtunique/flink,aljoscha/flink,zjureel/flink,haohui/flink,shaoxuan-wang/flink,zhangminglei/flink,StephanEwen/incubator-flink,godfreyhe/flink,darionyaphet/flink,hongyuhong/flink,GJL/flink,gyfora/flink,lincoln-lil/flink,fhueske/flink,mylog00/flink,lincoln-lil/flink,mylog00/flink,tony810430/flink,WangTaoTheTonic/flink,yew1eb/flink,godfreyhe/flink,zohar-mizrahi/flink,mbode/flink,xccui/flink,zohar-mizrahi/flink,mbode/flink,zhangminglei/flink,StephanEwen/incubator-flink,xccui/flink,PangZhi/flink,zhangminglei/flink,wwjiang007/flink,xccui/flink,haohui/flink,Xpray/flink,tzulitai/flink,WangTaoTheTonic/flink,apache/flink,lincoln-lil/flink,aljoscha/flink,godfreyhe/flink,Xpray/flink,kl0u/flink,ueshin/apache-flink,zjureel/flink,zimmermatt/flink,shaoxuan-wang/flink,clarkyzl/flink,tillrohrmann/flink,rmetzger/flink,lincoln-lil/flink,tillrohrmann/flink,WangTaoTheTonic/flink,tillrohrmann/flink,bowenli86/flink,bowenli86/flink,lincoln-lil/flink,apache/flink,xccui/flink,darionyaphet/flink,sunjincheng121/flink,aljoscha/flink,jinglining/flink,gustavoanatoly/flink,hwstreaming/flink,DieBauer/flink,hongyuhong/flink,bowenli86/flink,PangZhi/flink,hongyuhong/flink,mbode/flink,hequn8128/flink,WangTaoTheTonic/flink,wwjiang007/flink,hwstreaming/flink,fhueske/flink,zentol/flink,mtunique/flink,fanzhidongyzby/flink,hwstreaming/flink,godfreyhe/flink,mbode/flink,mbode/flink,apache/flink,greghogan/flink,hequn8128/flink,fhueske/flink,twalthr/flink,hequn8128/flink,sunjincheng121/flink,gyfora/flink,zentol/flink,mylog00/flink,wwjiang007/flink,Xpray/flink,sunjincheng121/flink,haohui/flink,gyfora/flink,tillrohrmann/flink,hongyuhong/flink,hwstreaming/flink,zjureel/flink,mylog00/flink,kaibozhou/flink,clarkyzl/flink,jinglining/flink,WangTaoTheTonic/flink,wwjiang007/flink,twalthr/flink,xccui/flink,lincoln-lil/flink,twalthr/flink,twalthr/flink,apache/flink,tzulitai/flink,tillrohrmann/flink,DieBauer/flink,mtunique/flink,clarkyzl/flink,yew1eb/flink,clarkyzl/flink,jinglining/flink,xccui/flink,PangZhi/flink,GJL/flink,zohar-mizrahi/flink,tony810430/flink,StephanEwen/incubator-flink,rmetzger/flink,sunjincheng121/flink,wwjiang007/flink,DieBauer/flink,StephanEwen/incubator-flink,mtunique/flink,zentol/flink,fanzhidongyzby/flink,darionyaphet/flink,yew1eb/flink,tzulitai/flink,fanyon/flink,hequn8128/flink,haohui/flink,lincoln-lil/flink,tzulitai/flink,yew1eb/flink,kaibozhou/flink,tony810430/flink,tony810430/flink,zhangminglei/flink,ueshin/apache-flink,tzulitai/flink,jinglining/flink,gyfora/flink,kaibozhou/flink,sunjincheng121/flink,hongyuhong/flink,aljoscha/flink,clarkyzl/flink,fanzhidongyzby/flink,wwjiang007/flink,zjureel/flink,greghogan/flink,gyfora/flink,zentol/flink,DieBauer/flink,GJL/flink,zimmermatt/flink,zjureel/flink,shaoxuan-wang/flink,zentol/flink,tony810430/flink,kl0u/flink,tzulitai/flink,zohar-mizrahi/flink,zentol/flink,bowenli86/flink,zohar-mizrahi/flink,apache/flink,kl0u/flink,fanyon/flink,sunjincheng121/flink,kaibozhou/flink,ueshin/apache-flink,tillrohrmann/flink,kl0u/flink,GJL/flink,greghogan/flink,godfreyhe/flink,Xpray/flink,GJL/flink,kl0u/flink,godfreyhe/flink,fanyon/flink,darionyaphet/flink,gustavoanatoly/flink