joel1di1 created JENKINS-13310:
----------------------------------
Summary: Retry upload actions when server errors
Key: JENKINS-13310
URL: https://issues.jenkins-ci.org/browse/JENKINS-13310
Project: Jenkins
Issue Type: Improvement
Components: appaloosa
Reporter: joel1di1
When appaloosa server send error page, the build breaks.
Add some retries to avoid builds failures when server is down for a few seconds.
Add clear message as "Appaloosa server is down, impossible to upload
application" when all retries fail.
Exemple of error:
== Publish uploaded file
Deployment failed : Impossible to parse mobileApplicationUpdate
string: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
html, body, iframe { margin: 0; padding: 0; height: 100%; }
iframe { display: block; width: 100%; border: none; }
</style>
<title>Application Error</title></head>
</head>
<body>
<iframe src="https://s3.amazonaws.com/heroku_pages/error.html">
<p>Application Error</p>
</iframe>
</body>
</html>
Build step 'Upload to Appaloosa' marked build as failure
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira