Add script for retry all failed in publishing files in a task