Azure Storage Upload Plugin not validating my storage account

瀏覽次數:58 次
跳到第一則未讀訊息

michaelw

未讀,
2013年12月6日 上午9:29:572013/12/6
收件者: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

未讀,
2013年12月13日 凌晨4:00:432013/12/13
收件者: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.
回覆所有人
回覆作者
轉寄
0 則新訊息