ATS项目更新(3) 远程同步到执行机器
1: echo %time%2:3:4: rem ** ipc and mapping5: c:6: net use x: /del7: net use y: /del8: net use \\10.11.44.1\ipc$ /del9: echo ==============================================10: net use \\10.11.44.1\ipc$ "Sqa-2006" /user:"RND\mpsvr"11: net use x: \\10.11.44.1\BigBandNetworks12: net use y: \\10.11.44.1\PublicViews13: echo ==============================================14:15: subst t: /d16: subst t: D:\PublicViews\Automation_Framework\SQA_ATE_DEV17:18:19: rem ** rar local files20: t:21: cd ..\..\..\..\..\..\..\..\..\..\..\..\22: cd "t:\Official Release\Bin"23: del *.rar;*.zip24: winrar a -r rel.rar25: winrar d rel *.pdb26:27:28: rem ** build the menu29: x:30: cd ..\..\..\..\..\..\..\..\..\..\..\..\31: cd "X:\ATS"32: if not exist "_update_record" mkdir "_update_record"33: cd _update_record34: set updatetime=%date:~6,4%%date:~0,2%%date:~3,2%%time:~0,2%%time:~3,2%%time:~6,2%35: md %updatetime%36: cd %updatetime%37:38: rem ** update dll and xml files39: xcopy /F /R /Y /E /EXCLUDE:t:\EXCLUDE.txt "t:\Official Release\Bin" "X:\ATS" >__log.txt40: rem winrar x -o+ "t:\Official Release\Bin\rel.rar" "X:\ATS\"41: type __log.txt42:43: rem ** md5 three dll files44: x:45: cd ..\..\..\..\..\..\..\..\..\..\..\..\46: cd "X:\Automation\DLLS"47: copy /Y "t:\Reference Assemblies\TSSBMSimulator.dll" "X:\Automation\DLLS\TSSBMSimulator.dll"48: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSBMSimulator.dll" >TSSBMSimulator.md5.txt49: x:50: cd ..\..\..\..\..\..\..\..\..\..\..\..\51: copy /Y "t:\Reference Assemblies\SBMComAPI.dll" "X:\SBMComAPI.dll"52: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\SBMComAPI.dll" >SBMComAPI.md5.txt53: x:54: cd ..\..\..\..\..\..\..\..\..\..\..\..\55: cd "X:\SessionManager"56: copy /Y "t:\Reference Assemblies\TSSMW.dll" "X:\SessionManager\TSSMW.dll"57: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSMW.dll" >TSSMW.md5.txt58:59: copy /Y "t:\_Configuration\TestManager.xml" "X:\ATS\Configuration\TestManager.xml"60:61: rem ** backup dll62: xcopy "t:\Official Release\Bin\rel.rar" "X:\ATS\_update_record\%updatetime%\"63: t:64: cd ..\..\..\..\..\..\..\..\..\..\..\..\65: cd "t:\Official Release\Bin"66: del *.rar;*.zip67: cd ..\..\..\..\..\..\..\..\..\..\..\..\68: cd "t:\Reference Assemblies"69: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSBMSimulator.dll" >_TSSBMSimulator.md5.txt70: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\SBMComAPI.dll" >_SBMComAPI.md5.txt71: t:\_MyTool\md5.exe -n "t:\Reference Assemblies\TSSMW.dll" >_TSSMW.md5.txt72:73:74: rem ** display all results75: x:76: cd ..\..\..\..\..\..\..\..\..\..\..\..\77: cd "X:\ATS"78: rem dir /a79:80:81: rem ** clean82: c:83: net use x: /del84: net use y: /del85: net use \\10.11.44.1\ipc$ /del86: subst t: /d87: pause88:89:
EXCLUDE.txt
1: .rar2: .zip3: .pdb4: .config5: .manifest6: \Report
ATS项目更新(3) 远程同步到执行机器的更多相关文章
- ATS项目更新(4) 更新DLL到远程服务器
rem by jin tao rem upload dll to ta1bbn01 rem rem @echo off echo %time% set time1 = %,%%,%%,% rem ** ...
- ATS项目更新(1) CC视图与备份路径同步
1: subst t: /d 2: subst t: D:\PublicViews\Automation_Framework\SQA_ATE_DEV 3: 4: rem ** update folde ...
- ATS项目更新(2) 命令行编译Studio解决方案
1: rem "D:\Microsoft Visual Studio 8\SDK\v2.0\Bin\sdkvars.bat" 2: D: 3: cd ..\..\..\..\..\ ...
- github上fork了别人的项目后,再同步更新别人的提交(转)
原文地址:github上fork了别人的项目后,再同步更新别人的提交 我从github网站和用git命令两种方式说一下. github网站上操作 打开自己的仓库,进入code下面. 点击new pul ...
- Jrebel 独立部署tomcat 远程同步项目
一直在用 jrebel 感觉热部署的 功能,修改xml配置文件等,省去了很多的重新启动的时间. 由于偶然间发现 jrebel 还有remote 路由功能.这样,在服务器端用jrebel部署的项目和本地 ...
- 2019/01/17 基于windows使用fabric将gitlab的文件远程同步到服务器(git)
觉得django项目把本地更新push到gitlab,再执行fabric脚本从gitlab更新服务器项目挺方便的,当然从本地直接到服务器就比较灵活. 2019/01/17 基于windows使用fab ...
- Rsync(远程同步): linux中Rsync命令的实际示例
rsync的 ( 远程同步 )为在Linux / Unix系统局部 拷贝和同步文件和目录远程以及一个最常用的命令. 随着rsync命令的帮助,您可以复制并在目录中远程和本地同步数据,在磁盘和网络,进行 ...
- django之创建第8个项目-数据库配置及同步研究
1.sqlitestudio-2.1.5数据库可视化工具--百度云盘下载 2.编写C:\djangoweb\helloworld\blog\models.py文件 # Create your mode ...
- 如何将现有的项目添加到远程的git库里面!
我们经常都会遇到这样的场景,就是将本地的一个项目同步到网上远程的git库里面.最近也遇到这样的问题,发现网上很少人讲到这个问题,但是这个问题是很多程序员遇到的版本库管理的最早的拦路虎. 我的远程是ht ...
随机推荐
- MyBatis Generator插件之SerializablePlugin
org.mybatis.generator.plugins.SerializablePlugin 在generatorConfig.xml中加上配置: <plugin type="or ...
- 一起talk C栗子吧(第八十三回:C语言实例--进程间通信概述)
各位看官们,大家好,前二回中咱们说的是进程停止的样例,这一回咱们说的样例是:进程间通信.闲话休提,言归正转.让我们一起talk C栗子吧! 看官们.每一个进程都拥有自己的资源,假设不同进程之间须要共享 ...
- php 过滤js字符串代码
$str = '<script type="text/javascript" src="dd.js"></script> 测试php正则 ...
- http各种状态码具体解释
1XX (暂时响应) 100(继续) 请求者应当继续提出请求. 101(切换协议)请求者已要求server切换协议,server已确认并准备切换 2XX(成功) ·200(成功) ser ...
- jQuery 淡入淡出
演示 jQuery fadeIn() 方法: <!DOCTYPE html> <html> <head> <meta charset="utf-8& ...
- PatentTips - Fast awake from low power mode
BACKGROUND Electronic devices, such as electronic book readers ("eBook reader devices"), c ...
- 判断系统64位(使用GetNativeSystemInfo函数,XP时代就有这个函数了)
判断系统64位 static bool IsWin64 (void) { SYSTEM_INFO si = {0}; typedef void (WINAPI *LPFN_PGNSI)(LPSYSTE ...
- js进阶 10-9 -of-type型子元素伪类选择器
js进阶 10-9 -of-type型子元素伪类选择器 一.总结 一句话总结:三种和first.last等有关的选择器. 1.:first和:first-child和:first-of-type的区别 ...
- 数据挖掘之分类算法---knn算法(有matlab样例)
knn算法(k-Nearest Neighbor algorithm).是一种经典的分类算法. 注意,不是聚类算法.所以这样的分类算法必定包含了训练过程. 然而和一般性的分类算法不同,knn算法是一种 ...
- Android招財进宝手势password的实现
这几个月都是在做招財进宝项目.一个高收益低风险的理財APP,有兴趣的能够下载玩玩.收益不错哦! ! ! 招財进宝下载地址:http://8.shengpay.com/ 前段时间因产品需求,做了一个手势 ...