我有一个关于将应用程序部署到Azure虚拟规模集的问题。 我使用this的博客。将应用程序部署到Azure虚拟机规模集
我的问题是将图像发布到azure,更具体地说是在任务“构建不可变图像”中的部署输入。
Screen with my Deployment Inputs section
,当我尝试将其释放我有一个错误:
[error]Error happened while `initializing task: Not found any file matching pattern: d:\a\r1\a\Proj\ under root folder: d:\a\r1\a..`
应该如何正确的路径看? 按照博客中的说明进行设置会导致相同的错误。 这是什么:“d:\ a \ r1 \ a \”?
编辑:
好的。我已经处理了这个问题。 它应该是: 部署包$(System.DefaultWorkingDirectory)/Proj/drop
部署脚本Deploy/ubuntu/deployNodejsApp.sh
但还有第二个。 在步骤“BUIL不变映像”我有一个错误:
2017-08-18T13:34:56.6852114Z ##[error]Error: d:\a\_temp\1503062745199\packer\packer.exe failed with return code: 1
2017-08-18T13:34:56.6992118Z ##[section]Finishing: Build immutable image
,并没有移动到下一个步骤:天蓝色的PowerShell脚本。
在我的Azure存储帐户,我有新的VHD文件,但是当我用它在模板创建比例集合我仍然有我的博客文章的作者信息Continuous Delivery is currently not supported on Virtual machine scale sets which use OS images from gallery. Choose a virtual machine scale set which uses a custom image.
添加变量system.debug释放定义并将其设置为true,然后创建一个新版本,然后在此处发布详细日志。另一方面,当配置持续交付时,您是否遇到持续交付错误目前尚不支持...在Azure门户中? –