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

Timeout when deploying large file to Nexus

    Details

    • Similar Issues:

      Description

      I have a series of large files that need to be uploaded to a Nexus artifact repository using the Nexus Artifact Uploader plugin in Jenkins. I have many jobs built that use this plugin and correctly upload the files to Nexus. Unfortunately, I am seeing that there is a ~2.5GB file size limit after which the Jenkins job fails with error "Read timed out". When I use a curl command to push the artifacts directly to the Nexus repo, it does not fail. This makes me believe that the timeout is being applied by Jenkins or possibly the Docker container that Jenkins is running on. I have attached the log below. Does anyone here have any suggestions about how I could solve this timeout error?

       

       
      {{09:54:28 Uploading artifact (artifact file).zip started....
      09:54:28 GroupId: data
      09:54:28 ArtifactId: (artifact name)
      09:54:28 Classifier:
      09:54:28 Type: zip
      09:54:28 Version: 0.0.1
      09:54:28 File: (artifact file).zip
      09:54:28 Repository:(repository name)
      09:54:28 Uploading: https://(nexus location)/repository/(repo name)/data/(artifact name)/0.0.1/(artifact name)-0.0.1.zip
      09:54:50 10 % completed (902 MB / 9.0 GB).
      09:55:12 20 % completed (1.8 GB / 9.0 GB).
      09:56:20 Failed to deploy artifacts: Could not transfer artifact data:(artifact name):zip:0.0.1 from/to (repo name) (https://(nexus location)/repository/repo name): Read timed out
      09:56:20 ERROR: Uploading file (artifact file).zip failed.}}

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              pskumar448 Suresh Kumar
              Reporter:
              mtemple Michael Temple
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: