I need to add retry function for uploadArchive task.
When uploadArchive is failed with 4XX error, instead of build failures,
we capture the error and retry the uploadArchive task( let’s say the numberOfRetries is 3 times ) by increasing uploading version.
The challenge is how we can capture the uploadArchive error and stop the build failed?
and also rerun the uploadArchive by increasing the upload version?
Could anyone help me out? Thanks!