發佈成功的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.
問題
爲什麼降不發現?這個版本有什麼問題或者有什麼問題嗎?
你能看到從構建公佈的文物? –