发布成功的Web应用程序CI构建到IIS开发服务器。
当前设置
关联生成定义第一拷贝的\bin
文件夹内容到Build.ArtifactStagingDirectory
,然后出版相同的路径的伪影。名称值为drop
,类型为Server
。
版本定义仅包含Windows Machine File Copy
步骤。它的Source
属性指向上述的drop文件夹,其目标是UNC地址。
其Artifacts
选项卡链接到构建定义,并为相同的源启用Continuous Deployment
。
症状
部署状态Rejected
。返回的The item drop in container 10039 could not be found.
见下日志中的错误:
2016-12-02T01:46:47.1273383Z Cleaning artifacts directory: C:\agent_work\9ee18c2ab… 2016-12-02T01:46:47.1612721Z Cleaned artifacts directory: C:\agent_work\9ee18c2ab 2016-12-02T01:46:47.1692742Z Number of linked artifacts to download: 1 2016-12-02T01:46:47.1722775Z Starting artifacts download... 2016-12-02T01:46:47.2203037Z Downloading linked artifact: VehicleTracking.DevCI... 2016-12-02T01:46:47.2222969Z Downloading artifact of type: Build 2016-12-02T01:46:47.2252925Z Created artifact folder C:\agent_work\9ee18c2ab\VehicleTracking.DevCI 2016-12-02T01:46:47.2712805Z Preparing to get the list of available artifacts from build. 2016-12-02T01:46:47.4233327Z Preparing to download artifact: drop 2016-12-02T01:46:47.4593025Z Artifact Type: ServerDrop 2016-12-02T01:46:47.4613413Z The artifact is of older version: False 2016-12-02T01:46:47.8273312Z Caching items under 'drop' in the file container... 2016-12-02T01:46:48.3123751Z 0 placed file(s): 0 downloaded, 0 empty and new, 0 preserved. 2016-12-02T01:46:48.3273435Z An error occurred during download: System.AggregateException: One or more errors occurred. ---> Microsoft.VisualStudio.Services.FileContainer.ContainerItemNotFoundException: The item drop in container 10039 could not be found.
问题
为什么降不发现?这个版本有什么问题或者有什么问题吗?
你能看到从构建公布的文物? –