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

Error occurred while uploading to Azure - WAStorageException: Only 0/2 files are successfully uploaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • None
    • Jenkins ver. 2.190.1
      Windows Azure Storage Plugin Version 1.1.1
    • 1.1.2

      Hi,

      After a migration from the version 0.3.11 to 1.1.1, I followed the tutorial described in the link: http://go.microsoft.com/fwlink/?LinkId=280058

      However, although i'm able to download the artifacts from my blob, i'm not able to upload artifacts to this same blob.

      I'm getting the error:

      MicrosoftAzureStorage - Container name: azuretemplates
      MicrosoftAzureStorage - share name: 
      MicrosoftAzureStorage - File path: text/*.txt
      MicrosoftAzureStorage - Virtual path: 
      MicrosoftAzureStorage - Exclude path: 
      MicrosoftAzureStorage - Uploading files to Microsoft AzureMicrosoftAzureStorage - Need uploaded/archived file count = 2
      ERROR: MicrosoftAzureStorage - Error occurred while uploading to Azure - xxxdwesxxx
      com.microsoftopentechnologies.windowsazurestorage.exceptions.WAStorageException: Only 0/2 files are successfully uploaded.
      	at com.microsoftopentechnologies.windowsazurestorage.service.UploadService.execute(UploadService.java:729)
      	at com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher.perform(WAStoragePublisher.java:438)
      	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
      	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      	at hudson.model.Build$BuildExecution.post2(Build.java:186)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      	at hudson.model.Run.execute(Run.java:1840)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      ERROR: Step 'Upload artifacts to Microsoft Azure Storage' aborted due to exception: 
      java.io.IOException: MicrosoftAzureStorage - Error occurred while uploading to Azure - xxxdwesxxx
      at com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher.perform(WAStoragePublisher.java:469)
      	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
      	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      	at hudson.model.Build$BuildExecution.post2(Build.java:186)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      	at hudson.model.Run.execute(Run.java:1840)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      Finished: FAILURE
      

      I tried with the version 1.0.4 and the artifacts were uploaded. But it was NOK with versions 1.1.0 and 1.1.1

            jieshe Jie Shen
            dude92 koffi AGOKLA
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: