[
https://issues.jenkins-ci.org/browse/JENKINS-13310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161104#comment-161104
]
SCM/JIRA link daemon commented on JENKINS-13310:
------------------------------------------------
Code changed in jenkins
User: Benoit Lafontaine
Path:
src/main/java/com/appaloosastore/client/AppaloosaClient.java
src/test/java/com/appaloosastore/client/AppaloosaClientTest.java
http://jenkins-ci.org/commit/appaloosa-plugin/9fc5c3f265755c97d7ebf81dc70a45834d4341cc
Log:
Retry upload actions when server errors [JENKINS-13310]
> 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