我想要实现的是,CCNET可以控制远程pc执行文件服务器中的bat文件,并监控文件的状态、停止或结束。bat文件是CodeUI自动化测试。
发布于 2014-12-04 10:53:13
你的问题有点模糊,但我假设你正在尝试做的是让CruiseControl执行一个外壳命令。
检查
http://www.cruisecontrolnet.org/projects/ccnet/wiki/Executable_Task
所以在你的脚本中应该是这样的
但是,如果必须从脚本所在计算机运行bat文件,请尝试在psexec.exe中查找。
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
https://superuser.com/questions/781796/run-a-batch-file-on-a-remote-computer-as-administrator
https://stackoverflow.com/questions/27284947
复制相似问题