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

Retry FTP Upload on bad connections

    Details

    • Similar Issues:

      Description

      I'm uploading big files (50-150MB) to a FTP server via a household DSL connection each night. Twice or three times a week the connection fails while uploading. The entry in the log is:
      ERROR: Exception when publishing, exception message [IOException caught while copying.]

      It would be very nice if I could specify a number of time the upload is retried.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bap2000
          Path:
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisher.java
          src/main/java/jenkins/plugins/publish_over_ssh/BapSshRetry.java
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/help-retry.html
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/config.jelly
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/config.properties
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/help-retries.html
          src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/help-retryDelay.html
          src/main/resources/jenkins/plugins/publish_over_ssh/Messages.properties
          src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java
          src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java
          http://jenkins-ci.org/commit/publish-over-ssh-plugin/d698fa0def843c52ef4ee326352ffc4aab9e9a81
          Log:
          [FIXED JENKINS-10094] Retry uploads on bad connections

          Moved "Verbose output in console" to new advanced section
          Swtiched some of the checkboxes from entry/@title to checkbox/@title to prevent longer descriptions from reformatting the view too much

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisher.java src/main/java/jenkins/plugins/publish_over_ssh/BapSshRetry.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/help-retry.html src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/help-retries.html src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/help-retryDelay.html src/main/resources/jenkins/plugins/publish_over_ssh/Messages.properties src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java http://jenkins-ci.org/commit/publish-over-ssh-plugin/d698fa0def843c52ef4ee326352ffc4aab9e9a81 Log: [FIXED JENKINS-10094] Retry uploads on bad connections Moved "Verbose output in console" to new advanced section Swtiched some of the checkboxes from entry/@title to checkbox/@title to prevent longer descriptions from reformatting the view too much
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_publish-over-parent #126
          [FIXED JENKINS-10094] Retry uploads on bad connections

          bap2000 :
          Files :

          • src/test/java/jenkins/plugins/publish_over/BapPublisherTest.java
          • src/main/resources/pojelly/disabled-checkbox.jelly
          • src/main/resources/pojelly/checkbox.jelly
          • src/main/java/jenkins/plugins/publish_over/BapPublisherException.java
          • src/main/java/jenkins/plugins/publish_over/JellySupport.java
          • src/test/java/jenkins/plugins/publish_over/BPTransferTest.java
          • src/main/resources/jenkins/plugins/publish_over/Messages.properties
          • src/main/java/jenkins/plugins/publish_over/BapPublisher.java
          • src/main/java/jenkins/plugins/publish_over/Retry.java
          • src/main/java/jenkins/plugins/publish_over/BapTransferException.java
          • src/main/java/jenkins/plugins/publish_over/BPTransfer.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_publish-over-parent #126 [FIXED JENKINS-10094] Retry uploads on bad connections bap2000 : Files : src/test/java/jenkins/plugins/publish_over/BapPublisherTest.java src/main/resources/pojelly/disabled-checkbox.jelly src/main/resources/pojelly/checkbox.jelly src/main/java/jenkins/plugins/publish_over/BapPublisherException.java src/main/java/jenkins/plugins/publish_over/JellySupport.java src/test/java/jenkins/plugins/publish_over/BPTransferTest.java src/main/resources/jenkins/plugins/publish_over/Messages.properties src/main/java/jenkins/plugins/publish_over/BapPublisher.java src/main/java/jenkins/plugins/publish_over/Retry.java src/main/java/jenkins/plugins/publish_over/BapTransferException.java src/main/java/jenkins/plugins/publish_over/BPTransfer.java
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_publish-over-ssh-plugin #145
          [FIXED JENKINS-10094] Retry uploads on bad connections

          bap2000 :
          Files :

          • src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisher.java
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/help-retry.html
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/help-retryDelay.html
          • src/main/resources/jenkins/plugins/publish_over_ssh/Messages.properties
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.properties
          • src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.jelly
          • src/main/java/jenkins/plugins/publish_over_ssh/BapSshRetry.java
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.jelly
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.properties
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/config.jelly
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/help-retries.html
          • src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java
          • src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/config.properties
          Show
          dogfood dogfood added a comment - Integrated in plugins_publish-over-ssh-plugin #145 [FIXED JENKINS-10094] Retry uploads on bad connections bap2000 : Files : src/main/java/jenkins/plugins/publish_over_ssh/BapSshPublisher.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/help-retry.html src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/help-retryDelay.html src/main/resources/jenkins/plugins/publish_over_ssh/Messages.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.properties src/test/java/jenkins/plugins/publish_over_ssh/jenkins/LegacyConfigurationTest.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisherPlugin/config.jelly src/main/java/jenkins/plugins/publish_over_ssh/BapSshRetry.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshPublisher/config.properties src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/config.jelly src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/help-retries.html src/test/java/jenkins/plugins/publish_over_ssh/jenkins/IntegrationTest.java src/main/resources/jenkins/plugins/publish_over_ssh/BapSshRetry/config.properties
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_publish-over-ftp-plugin #136
          [FIXED JENKINS-10094] Retry uploads on bad connections

          bap2000 :
          Files :

          • src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.jelly
          • src/main/resources/jenkins/plugins/publish_over_ftp/Messages.properties
          • src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/help-retry.html
          • src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.jelly
          • src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpRetry/config.properties
          • src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.properties
          • src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpRetry/config.jelly
          • src/test/java/jenkins/plugins/publish_over_ftp/jenkins/IntegrationTest.java
          • src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpRetry/help-retryDelay.html
          • src/main/java/jenkins/plugins/publish_over_ftp/BapFtpRetry.java
          • src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisher.java
          • src/test/java/jenkins/plugins/publish_over_ftp/jenkins/CurrentConfigurationTest.java
          • src/test/java/jenkins/plugins/publish_over_ftp/jenkins/LegacyConfigurationTest.java
          • src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpRetry/help-retries.html
          • src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.properties
          Show
          dogfood dogfood added a comment - Integrated in plugins_publish-over-ftp-plugin #136 [FIXED JENKINS-10094] Retry uploads on bad connections bap2000 : Files : src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/Messages.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/help-retry.html src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.jelly src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpRetry/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisherPlugin/config.properties src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpRetry/config.jelly src/test/java/jenkins/plugins/publish_over_ftp/jenkins/IntegrationTest.java src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpRetry/help-retryDelay.html src/main/java/jenkins/plugins/publish_over_ftp/BapFtpRetry.java src/main/java/jenkins/plugins/publish_over_ftp/BapFtpPublisher.java src/test/java/jenkins/plugins/publish_over_ftp/jenkins/CurrentConfigurationTest.java src/test/java/jenkins/plugins/publish_over_ftp/jenkins/LegacyConfigurationTest.java src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpRetry/help-retries.html src/main/resources/jenkins/plugins/publish_over_ftp/BapFtpPublisher/config.properties
          Hide
          dogfood dogfood added a comment -
          Show
          dogfood dogfood added a comment - Integrated in plugins_publish-over-cifs-plugin #10

            People

            • Assignee:
              bap bap
              Reporter:
              marcp Marc Popp
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: