Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13310

Retry upload actions when server errors

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • appaloosa-plugin
    • None

      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

            joel1di1 joel1di1
            joel1di1 joel1di1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: