小编Mah*_*mar的帖子

错误:指定的资源名称包含无效字符。错误代码:无效资源名称

错误:指定的资源名称包含无效字符。错误代码:无效资源名称

2019-10-31T10:28:17.4678189Z <?xml version="1.0" encoding="utf-8"?><Error><Code>InvalidResourceName</Code><Message>The specifed resource name contains invalid characters.

2019-10-31T10:28:17.4678695Z 请求 ID:

2019-10-31T10:28:17.4679207Z Time:2019-10-31T10:28:17.4598301Z</Message></Error>

我正在尝试使用 azure DevOps 将我的静态网站部署到 azure 中的 blob 存储,但出现此错误。在我的管道中,我使用 grunt build 进行构建,并将其存档到 zip,然后发布到 azure 管道,然后在发布中,我正在提取文件,并尝试使用 azure CLI 任务上传这些文件。

我正在使用以下命令 az storage blob upload-batch --account-name something --account-key something --destination ‘$web’ --source ./

我的容器名称是 $web

blob blobstorage azure-storage-blobs azure-devops azure-storage-account

2
推荐指数
2
解决办法
9027
查看次数