Details
-
Type:
New Feature
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: publish-over-ftp-plugin
-
Labels:None
-
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.
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