This is related to support case 00992572.
The "Number of retries if publishing fails" option only works if the publish job includes rendering. In other publish jobs, such as publish to file system, there is no way to automatically retry when the job fails. Can you please make it so this option is applicable to all publish jobs, or can you please hide the option if it's not applicable.