如何访问SVN使用VBScript [英] how to access SVN using VBScript

查看:177
本文介绍了如何访问SVN使用VBScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们来抓维修器材在SVN和日常上午VBScript编写一些测试脚本,我们得到这些文件的最新版本,并运行测试。我们此刻手动这样做。但是,我们要自动化这整个操作。

We'r maintaing some test scripts written in VBScript in SVN and everyday morning we get the latest copy of these files and run the tests. We are doing this manually at the moment. However we want to automated this whole operation.

我们如何访问SVN使用VBScript来复制最新的code回试机?有,我们可以用它来访问SVN并获得最新的文件中的任何API?

How do we access SVN using VBScript to copy the latest code back to the test machine? Is there any API that we can use to access SVN and get the latest files?

推荐答案

只要SVN在您的路径...

So long as svn is in your path...

Set objShell = WScript.CreateObject("WScript.shell")
objShell.exec ("cmd svn update C:\Projects\Project1 --username buildrobot --password IAmARobot1")

这篇关于如何访问SVN使用VBScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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