如何指定其他服务器将构建文件复制到其中? [英] How can I specify another server to copy the build files onto?

查看:56
本文介绍了如何指定其他服务器将构建文件复制到其中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个在TeamCity中运行的MSBuild脚本.我想将Project Build生成的文件复制到另一台服务器时遇到问题.我试图将该服务器映射为X:\,但出现错误,即它找不到该路径.有谁能够帮我? 谢谢

I'm trying to create a MSBuild script for running in TeamCity. I have a problem when I want to copy the files generated by the Project Build to another server. I tried to map that server as X:\ but I got the error that it can't find that path. Can anybody help me? Thanks

推荐答案

在构建脚本中使用驱动器映射可能会出现问题.如果可以使用网络共享会更好.如果不是,则可能必须使用 MSDeploy 之类的工具.

Drive mappings can be problematic to use from build scripts. It would be better if you can use a network share. If not you may have to use a tool like MSDeploy.

这篇关于如何指定其他服务器将构建文件复制到其中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆