Azure Storage Upload Plugin not validating my storage account

58 vues
Accéder directement au premier message non lu

michaelw

non lue,
6 déc. 2013, 09:29:5706/12/2013
à jenkins...@googlegroups.com
So enter my storage account name, my account key and my blob end point url.

I click validate and it fails.

I get the following stack trace:

java.lang.IllegalArgumentException: Null InputStream is not a valid argument
        at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:614)
        at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:317)
        at com.microsoft.windowsazure.services.core.storage.utils.Utility.createXMLStreamReaderFromStream(Utility.java:327)
        at com.microsoft.windowsazure.services.core.storage.utils.implementation.StorageErrorResponse.<init>(StorageErrorResponse.java:59)
        at com.microsoft.windowsazure.services.core.storage.StorageException.getErrorDetailsFromRequest(StorageException.java:54)
        at com.microsoft.windowsazure.services.core.storage.StorageException.translateException(StorageException.java:85)
        at com.microsoft.windowsazure.services.core.storage.utils.implementation.ExecutionEngine.executeWithRetry(ExecutionEngine.java:147)
        at com.microsoft.windowsazure.services.blob.client.CloudBlobContainer.exists(CloudBlobContainer.java:709)
        at com.microsoft.windowsazure.services.blob.client.CloudBlobContainer.exists(CloudBlobContainer.java:647)
        at com.microsoftopentechnologies.windowsazurestorage.WAStorageClient.validateStorageAccount(WAStorageClient.java:59)
        at com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher.validateData(WAStoragePublisher.java:209)
        at com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher.perform(WAStoragePublisher.java:154)
        at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
        at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
        at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1020)
        at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
        at hudson.model.Run.execute(Run.java:1702)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:231)

This is the stack trace that is produced when the job tries to upload to blob storage.

As far as I can tell, all my values are correct.

Michael

michaelw

non lue,
13 déc. 2013, 04:00:4313/12/2013
à jenkins...@googlegroups.com
Okay.... you get this error if you fill in the full blob storage url in the system account config.

You must not put the storage account name in this field - only the bit after the storage account name.
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message