octopus-deploy - 八达通部署通过错误
问题描述
我在章鱼中有一份工作,其任务是使用 azure 上的 powershell 脚本将几个文件夹从一个远程服务器复制到另一台远程服务器。在 powershell 中,我在我的存储库中调用了一个 nodejs 脚本。它在我的本地机器上运行良好,在章鱼服务器上也是如此。但它带有一些警告,如下所示,
13:22:29 Error | Alive[################################################################] 100.0000%
13:22:29 Error | Finished[#############################################################] 100.0000%
13:22:29 Error | Alive[################################################################] 100.0000%
13:22:29 Error | Finished[#############################################################] 100.0000%
13:22:29 Error | Alive[################################################################] 100.0000%
13:22:29 Error | Finished[#############################################################] 100.0000%
13:22:29 Error | WARNING: uploading C:\Octopus\Work\20200610122124-353927-1979\dist\content\14d214dc-6afc-8581-efb8-fad4a024bb05
13:22:29 Error | Alive[################################################################] 100.0000%
13:22:29 Error | Finished[#############################################################] 100.0000%
13:22:29 Error | WARNING: uploading C:\Octopus\Work\20200610122124-353927-1979\dist\content\1f5e7cc3-ce40-cc82-0963-fd044ce161a1
13:22:29 Error | Alive[################################################################] 100.0000%
13:22:29 Error | Finished[#############################################################] 100.0000%
13:22:29 Error | WARNING: uploading C:\Octopus\Work\20200610122124-353927-1979\dist\content\22683897-1a40-cfb4-e59a-7be7637a44d2
13:22:29 Error | Alive[################################################################] 100.0000%
我的PowerShell脚本片段,
if($SourceContext -and $destinationTenantAccess)
{
#Install required libraries to run the migration script
npm i
#Execute migration script
node ./scripts/migrate --sourceEndpoint $SourceEndpoint --destEndpoint $DestinationEndpoint --publishEndpoint $DestPublishEndpoint --sourceId $sourceTenantAccess.Id --sourceKey $sourceTenantAccess.PrimaryKey --destId $destinationTenantAccess.Id --destKey $destinationTenantAccess.PrimaryKey
}
else
{
Write-Error ( "Unable to find SAS Tokens, Developer Portal migration Failed." )
}
我使用的迁移脚本来自:https ://github.com/Azure/api-management-developer-portal
请注意,这并没有使我的构建失败,但我想删除这些错误。任何线索如何解决它?
解决方案
推荐阅读
- java - java - 如何在java中单击带有所选数据的链接生成PDF?
- firebase - 如何设置 Cloud Firestore 数据库以匹配以下规则?
- django - SocketException:操作系统错误:连接被拒绝,errno = 111 in flutter using django backend
- android - 如何使用 Google Cloud Speech-to-Text API 实现语音识别?
- c++ - 基类为抽象的 ADT 数组
- hadoop - 错误:运行 hadoop 命令时无法创建 Java 虚拟机
- javascript - 如何从 html 下拉菜单中获取/传递所选项目?
- html - 将 HTML 数据导出为 pdf/doc
- javascript - 如果提交表单,则重定向并显示通知
- javascript - 如何在 Vue 中生成一个数组,然后在对象中的一个项目上使用 v-model?