我正在VSTS中建立三个构建和发布管道。我进行质量检查和分期的前两个工作正常。我的生产版本似乎正在寻找一个F:驱动器来发布我的网站,该驱动器不存在。其他两个管道已成功发布到E:驱动器。我正在向每个服务器部署相同的分支。
我无法为自己的生活弄清楚为什么会这样。有任何想法吗?
日志如下:
> 2018-09-07T10:39:12.9818031Z ##[section]Starting: Deploy IIS
> Website/App: 2018-09-07T10:39:12.9824407Z
> ============================================================================== 2018-09-07T10:39:12.9824537Z Task : IIS Web App Deploy
> 2018-09-07T10:39:12.9824635Z Description : Deploy a Website or Web
> Application using WebDeploy 2018-09-07T10:39:12.9824748Z Version
> : 0.0.42 2018-09-07T10:39:12.9824833Z Author : Microsoft
> Corporation 2018-09-07T10:39:12.9824934Z Help : [More
> Information](https://go.microsoft.com/fwlink/?linkid=866789)
> 2018-09-07T10:39:12.9825405Z
> ============================================================================== 2018-09-07T10:39:15.0081829Z [command]"C:\Program Files\IIS\Microsoft
> Web Deploy V3\msdeploy.exe" -verb:sync
> -source:package='C:\vstsagent\A1\_work\r1\a\Production Build - Azure\drop\ThisIsMyWebsiteName.Mvc.zip' -dest:auto -setParam:name='IIS
> Web Application Name',value='www.ThisIsMyWebsiteName.org.uk'
> 2018-09-07T10:39:16.2102044Z Info: Adding sitemanifest (sitemanifest).
> 2018-09-07T10:39:16.2957835Z Info: Adding virtual path
> (www.ThisIsMyWebsiteName.org.uk) 2018-09-07T10:39:16.3117823Z Info:
> Adding directory (www.ThisIsMyWebsiteName.org.uk).
> 2018-09-07T10:39:16.3666499Z Error: C:\Program Files\IIS\Microsoft Web
> Deploy V3\msdeploy.exe failed with return code: 4294967295
> 2018-09-07T10:39:16.3666959Z at ChildProcess.<anonymous>
> (C:\vstsagent\A1\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.0.42\node_modules\vsts-task-lib\toolrunner.js:569:30)
> 2018-09-07T10:39:16.3667253Z at emitTwo (events.js:106:13)
> 2018-09-07T10:39:16.3667459Z at ChildProcess.emit
> (events.js:191:7) 2018-09-07T10:39:16.3667643Z at maybeClose
> (internal/child_process.js:886:16) 2018-09-07T10:39:16.3667842Z at
> Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
> 2018-09-07T10:39:16.3744137Z ##[warning]Can\'t find loc string for
> key: RetryToDeploy 2018-09-07T10:39:16.3756406Z RetryToDeploy
> 2018-09-07T10:39:16.3758339Z [command]"C:\Program Files\IIS\Microsoft
> Web Deploy V3\msdeploy.exe" -verb:sync
> -source:package='C:\vstsagent\A1\_work\r1\a\Production Build - Azure\drop\ThisIsMyWebsiteName.Mvc.zip' -dest:auto -setParam:name='IIS
> Web Application Name',value='www.ThisIsMyWebsiteName.org.uk'
> 2018-09-07T10:39:16.9979596Z Info: Adding sitemanifest (sitemanifest).
> 2018-09-07T10:39:17.0833918Z Info: Adding virtual path
> (www.ThisIsMyWebsiteName.org.uk) 2018-09-07T10:39:17.1024603Z Info:
> Adding directory (www.ThisIsMyWebsiteName.org.uk).
> 2018-09-07T10:39:17.1479924Z Error: C:\Program Files\IIS\Microsoft Web
> Deploy V3\msdeploy.exe failed with return code: 4294967295
> 2018-09-07T10:39:17.1480586Z at ChildProcess.<anonymous>
> (C:\vstsagent\A1\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.0.42\node_modules\vsts-task-lib\toolrunner.js:569:30)
> 2018-09-07T10:39:17.1480827Z at emitTwo (events.js:106:13)
> 2018-09-07T10:39:17.1481001Z at ChildProcess.emit
> (events.js:191:7) 2018-09-07T10:39:17.1481193Z at maybeClose
> (internal/child_process.js:886:16) 2018-09-07T10:39:17.1481404Z at
> Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
> 2018-09-07T10:39:17.1482037Z ##[warning]Can\'t find loc string for
> key: RetryToDeploy 2018-09-07T10:39:17.1482506Z RetryToDeploy
> 2018-09-07T10:39:17.1486722Z [command]"C:\Program Files\IIS\Microsoft
> Web Deploy V3\msdeploy.exe" -verb:sync
> -source:package='C:\vstsagent\A1\_work\r1\a\Production Build - Azure\drop\ThisIsMyWebsiteName.Mvc.zip' -dest:auto -setParam:name='IIS
> Web Application Name',value='www.ThisIsMyWebsiteName.org.uk'
> 2018-09-07T10:39:17.7446787Z Info: Adding sitemanifest (sitemanifest).
> 2018-09-07T10:39:17.8281962Z Info: Adding virtual path
> (www.ThisIsMyWebsiteName.org.uk) 2018-09-07T10:39:17.8451236Z Info:
> Adding directory (www.ThisIsMyWebsiteName.org.uk).
> 2018-09-07T10:39:17.8859246Z ##[error]Failed to deploy web package to
> IIS website. 2018-09-07T10:39:17.8873159Z ##[error]Error: An error was
> encountered when processing operation 'Create Directory' on
> 'F:\Websites\www.ThisIsMyWebsiteName.org.uk\wwwroot'. Error: The error
> code was 0x80070002. Error: Could not find file '\\?\F:'. Error count:
> 1.
>
> 2018-09-07T10:39:17.8884343Z ##[error]Error: C:\Program
> Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return
> code: 4294967295 2018-09-07T10:39:17.9217040Z ##[section]Finishing:
> Deploy IIS Website/App: