我试图部署mvc.net网站使用jenkins到我的本地IIS服务器,因为我已经写了Windows执行浴命令为“C:\ Program Files文件(x86)\ MSBuild \ 14.0 \ bin \ msbuild.exe“”E:\ Heena \ Applications \ mvctest \ mvctest \ mvctest.csproj“/ T:Build; Package/p:Configuration = DEBUG/p:OutputPath =”obj \ DEBUG“/ p:DeployIisAppPath =” /默认Web站点 “/p:VisualStudioVersion=14.0使用jenkins网站部署
和”C:\ Program Files文件(x86)的\ IIS \微软Web部署V3 \ msdeploy.exe“ -verb:同步 - 源:包=” E :\ Heena \ Applications \ mvctest.zip“-dest:auto,computerName ='server1',用户名='Administrator',密码='server @ 2016'-allowUntrusted = true
现在在构建时,buil已经成功了,但我得到一个错误,因为 构建成功。 0警告(S) 0错误(S)
已用时间00:00:04.60
C:\用户\ ADMIN.jenkins \工作空间\ CICD-演示>出口0 [CICD-演示] $ cmd/c call C:\ Users \ ADMIN \ AppData \ Local \ Temp \ hudson7267586069406813972.bat
C:\ Users \ ADMIN.jenkins \ workspace \ CICD-demo>“C:\ Program Files(x86)\ IIS \ Microsoft Web Deploy V3 \ msdeploy.exe“-verb:sync -source:package =”E:\ Heena \ Applications \ mvctest.zip“-dest:auto,computerName ='server1',用户名='管理员',密码='server @ 2016'-allowUntrusted = true 信息:使用ID'06889367-aab0-4054-bee5- b54c98f58119'用于连接到远程服务器。 信息:添加sitemanifest(sitemanifest)。 信息:创建应用程序(192.168.0.47/Testing/) 信息:添加虚拟路径(192.168.0.47/Testing/) 错误代码:ERROR_SITE_DOES_NOT_EXIST 更多的信息:网站 '192.168.0.47' 不存在。了解更多信息:http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SITE_DOES_NOT_EXIST。 错误计数:1.
C:\用户\ ADMIN.jenkins \工作空间\ CICD-演示>出口-1 生成步骤 '执行Windows批处理命令' 标记建立作为成品失败 :FAILURE
嗨,感谢您的回答,但还有另一个问题,计算和部署完成 –