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

Attatchment file size bigger than 2GB will not be uploaded

XMLWordPrintable

      Background

      1. create a new page or use existing page by plugin
      2. add attachment thats bigger than 2GB. in this case, it was a Zip file nearly 2.3 GB

       

      Result:

      Upload failes. log is in below.

       

      [confluence] - Uploading file: MYFILE.zip (application/zip)
      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at com.myyearbook.hudson.plugins.confluence.ConfluencePublisher.performAttachments(ConfluencePublisher.java:347)
      at com.myyearbook.hudson.plugins.confluence.ConfluencePublisher.perform(ConfluencePublisher.java:429)
      at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:47)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:763)
      at hudson.model.Build$BuildExecution.post2(Build.java:179)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707)
      at hudson.model.Run.execute(Run.java:1921)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
      at hudson.model.ResourceController.execute(ResourceController.java:101)
      at hudson.model.Executor.run(Executor.java:442)
      Build step 'Publish to Confluence' marked build as failure

            jhansche Joe Hansche
            wodnr97 HEO JAEUK
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: